QuickObjects.ObjectBase Send comments on this topic.
AutoGenerated Property
See Also 
Akal.QuickObjects.ObjectBase Namespace > NumericField Class : AutoGenerated Property

AutoGenerated

It holds a Boolean value that indicates weather this field value is automatically generated by the underlying database server on insertion.

If this is set to true, the Insert command will not try to insert a value into this field. However, if you are using Oracle as the database and you have set the SequenceName property then the .NEXTVAL of the sequence object specified will be used to insert the value. Make sure not to specify the SequenceName if you have a trigger on the table that inserts the value for this field.

In SQL Server this can be used to indicate an Identity field whose value is auto incremented by the database server. In Oracle this can indicate a field whose value is generated from a Sequence. See the SequenceName property as well for implementing automatic value generation from an oracle Sequence object.

Syntax

C# 
public bool AutoGenerated {get; set;}

Requirements

Target Platforms: .NET Framework 1.1 or .NET Framework 2.0

See Also