ComponentOne DataObjects for .NET
AutoIncrementEnum Enumeration

C1.Data.2 Assembly > C1.Data.SchemaObjects Namespace : AutoIncrementEnum Enumeration
Specifies automatic assignment of field values on adding rows to a table and to the database.
Syntax
'Declaration
 
Public Enum AutoIncrementEnum 
   Inherits System.Enum
public enum AutoIncrementEnum : System.Enum 
Members
MemberDescription
ClientThe field automatically receives incremented value in a new row added to the table on the client.
ClientAndServerThe field automatically receives incremented value in a new row both in a new row added on the client and in a new row added to the database table on the server. These two values can be different. After adding the row to the database table on the server, the client value is refreshed with the value from the database table.
NoneNo autoincrement functionality.
ServerThe field automatically receives incremented value in a new row added to the database table on the server.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         C1.Data.SchemaObjects.AutoIncrementEnum

See Also

Reference

C1.Data.SchemaObjects Namespace
TableField.Autoincrement