<% group # SQL text generation control attributes %>

The NonUpdatable attribute indicates the field that should not be updated by UPDATE or INSERT SQL statements.

NonUpdatable.cs <% ..\..\..\HowTo\DataAccess\NonUpdatable.cs %> DataAccessor.Insert method generates and executes the following SQL statement: <% sql # INSERT INTO [Person] ( [MiddleName], [Gender], [LastName], [FirstName] ) VALUES ( @MiddleName, @Gender, @LastName, @FirstName ) %> App.config <% Doc\Data\App.config %> Create.sql script