Class KeyAnnotation
Defines annotations for entity keys.
Inheritance
System.Object
System.Dynamic.DynamicObject
KeyAnnotation
Implements
System.Dynamic.IDynamicMetaObjectProvider
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
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)
Namespace: Kephas.Data.Model.Elements.Annotations
Assembly: Kephas.Data.Model.dll
Syntax
public class KeyAnnotation : AttributeAnnotation<KeyAttribute>, IConstructibleElement, IAttributeAnnotation, IAnnotation, INamedElement, IAggregatedElementInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider, IElementConfigurator
Constructors
| Improve this Doc View SourceKeyAnnotation(IModelConstructionContext, String, KeyAttribute)
Initializes a new instance of the KeyAnnotation class.
Declaration
public KeyAnnotation(IModelConstructionContext constructionContext, string name, KeyAttribute attribute)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
System.String | name | The model element name. |
KeyAttribute | attribute | The attribute. |
Methods
| Improve this Doc View SourceConfigure(IModelConstructionContext, INamedElement)
Configures the model element provided.
Declaration
public void Configure(IModelConstructionContext constructionContext, INamedElement element)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | The construction context. |
INamedElement | element | The model element to be configured. |
Implements
System.Dynamic.IDynamicMetaObjectProvider