AutoIncrementAttribute Class

An attribute that qualifies any parameter in the constructor, making the column associated with the parameter an AUTOINCREMENT field.

C#
[AttributeUsage(System.AttributeTargets.Parameter, Inherited = false, AllowMultiple = false)]
public sealed class AutoIncrementAttribute : Attribute
Inheritance
AutoIncrementAttribute
Attributes

Remarks

This attribute must be specified together with the PrimaryKeyAttribute.

See: SQLite Autoincrement.

Properties

TypeId (Inherited from Attribute)

Methods

Equals(object) (Inherited from Attribute)
GetHashCode() (Inherited from Attribute)
IsDefaultAttribute() (Inherited from Attribute)
Match(object) (Inherited from Attribute)
GetType() (Inherited from object)
MemberwiseClone() (Inherited from object)
ToString() (Inherited from object)