Class EntityTypeConstructor
Classifier constructor for EntityType.
Inheritance
System.Object
EntityTypeConstructor
Implements
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: Kephas.Data.Model.Runtime.Construction
Assembly: Kephas.Data.Model.dll
Syntax
public class EntityTypeConstructor : ClassifierConstructorBase<EntityType, IEntityType>, IRuntimeModelElementConstructor<EntityType, IEntityType, IRuntimeTypeInfo>, IRuntimeModelElementConstructor
Fields
| Improve this Doc View SourceEntityDiscriminator
The entity discriminator.
Declaration
public const string EntityDiscriminator = "Entity"
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceElementNameDiscriminator
Gets the element name discriminator.
Declaration
protected override string ElementNameDiscriminator { get; }
Property Value
Type | Description |
---|---|
System.String | The element name discriminator. |
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<Kephas.Data.Model.Elements.EntityType, Kephas.Data.Model.IEntityType, Kephas.Runtime.IRuntimeTypeInfo>.ElementNameDiscriminator
Remarks
This discriminator can be used as a suffix in the name to identify the element type.
Methods
| Improve this Doc View SourceTryCreateModelElementCore(IModelConstructionContext, IRuntimeTypeInfo)
Core implementation of trying to get the element information.
Declaration
protected override EntityType TryCreateModelElementCore(IModelConstructionContext constructionContext, IRuntimeTypeInfo runtimeElement)
Parameters
Type | Name | Description |
---|---|---|
IModelConstructionContext | constructionContext | Context for the construction. |
IRuntimeTypeInfo | runtimeElement | The runtime element. |
Returns
Type | Description |
---|---|
EntityType | A new element information based on the provided runtime element information, or |
Overrides
Kephas.Model.Runtime.Construction.NamedElementConstructorBase<Kephas.Data.Model.Elements.EntityType, Kephas.Data.Model.IEntityType, Kephas.Runtime.IRuntimeTypeInfo>.TryCreateModelElementCore(Kephas.Model.Construction.IModelConstructionContext, Kephas.Runtime.IRuntimeTypeInfo)