Interface ISchemaEntityType
Schema information about an entity, used by comparison report for comparing different versions of overall Schema
Inherited Members
Namespace: LemonEdge.API.Entities.SchemaReport
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.SchemaEntityType, "dbo.LT_SchemaEntityType", "SchemaEntityType", LabelColumn = "Name", IsStandingDataEntity = false)]
[EntityIndex(Name = "SchemaVersionID", ColumnNames = new string[] { "SchemaVersionID", "Name", "AssemblyName", "DllVersion" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending, IndexOrder.Ascending, IndexOrder.Ascending, IndexOrder.Ascending }, IncludeColumns = new string[] { "Attributes", "NameSpace" }, IsClustered = false, IsUnique = false)]
public interface ISchemaEntityType : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, IHasVersion
Properties
AssemblyName
The full name of the owning assembly
Declaration
[EntityProperty(SQLType.NVarChar, 300, true)]
[EntityDescription("The full name of the owning assembly.")]
string AssemblyName { get; set; }
Property Value
Type | Description |
---|---|
string |
Attributes
The attributes which describe this entity
Declaration
[EntityProperty(SQLType.NVarChar, true)]
[EntityDescription("The attributes which describe this entity.")]
string Attributes { get; set; }
Property Value
Type | Description |
---|---|
string |
DllVersion
The version of the owning DLL
Declaration
[EntityProperty(SQLType.NVarChar, 20, true)]
[EntityDescription("The version of the owning DLL.")]
string DllVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
[Key] The unique user friendly name for this entity type
Declaration
[EntityProperty(SQLType.NVarChar, 500, false)]
[EntityKeyProperty]
[EntityDescription("The unique name of this entity type.")]
[Unique]
[Required]
string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NameSpace
The namespace of the type
Declaration
[EntityProperty(SQLType.NVarChar, 500, true)]
[EntityDescription("The namespace of the type.")]
string NameSpace { get; set; }
Property Value
Type | Description |
---|---|
string |
SchemaVersionID
This links to the schema version row in SchemaVersion, which identifies both the version and datetime of this schema data
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityDescription("The schema version ID.")]
Guid SchemaVersionID { get; set; }
Property Value
Type | Description |
---|---|
Guid |