Class Key<T>
Represents model projection which contains primary key columns only, with unique constraint enforced.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DevZest.Data
Assembly: DevZest.Data.dll
Syntax
public abstract class Key<T> : Projection, IDesignable, IEntity<T>, IEntity where T : CandidateKey
Type Parameters
Name | Description |
---|---|
T | Type of the primary key. |
Properties
Name | Description |
---|---|
Model | Gets the associated model. |
PrimaryKey | Gets the primary key. |
Methods
Name | Description |
---|---|
CreatePrimaryKey() | Creates the primary key. |