PrimaryKeyAttribute Class
An attribute that qualifies any parameter in the constructor, making the
column associated with the parameter a PRIMARY KEY
field.
C#
[AttributeUsage(System.AttributeTargets.Parameter, Inherited = false, AllowMultiple = false)]
public sealed class PrimaryKeyAttribute : Attribute
- Inheritance
- Attributes
Remarks
This attribute can be specified for at most one of the parameters of the constructor.
See: SQLite CREATE TABLE.
Properties
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) |