Show / Hide Table of Contents

Class Key<T>

Represents model projection which contains primary key columns only, with unique constraint enforced.

Inheritance
System.Object
AddonBag
ModelMember
Projection
Key<T>
Implements
IEntity<T>
IEntity
Inherited Members
Projection.GetModel()
Projection.GetName()
Projection.Register<T, TColumn>(Expression<Func<T, TColumn>>, Mounter<TColumn>)
Projection.Columns
Projection.ColumnsByRelativeName
Projection.IEntity.Model
ModelMember.GetParent()
ModelMember.DesignMode
ModelMember.VerifyDesignMode()
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.

Extension Methods

Extensions.Match<T>(IEntity<T>, T)
Extensions.Match<T>(IEntity<T>, IEntity<T>)
AddonBagExtensions.GetAddons<T>(AddonBag)
AddonBagExtensions.GetAddon<T>(AddonBag)
AddonBagExtensions.GetAddon(AddonBag, Object)
AddonBagExtensions.Add(AddonBag, IAddon)
AddonBagExtensions.AddOrUpdate(AddonBag, IAddon)
AddonBagExtensions.ContainsAddon(AddonBag, Object)
AddonBagExtensions.RemoveAddon(AddonBag, Object)
  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest