Class PropertyBitEnumValue
This class represents the EntityModel interface to the SyBitCode database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class PropertyBitEnumValue
Constructors
PropertyBitEnumValue()
Declaration
public PropertyBitEnumValue()
Properties
Code
Gets or sets the Code associated with this PropertyBitEnumValue.
Declaration
public int Code { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Code. |
ColumnName
Gets or sets the ColumnName associated with this PropertyBitEnumValue.
Declaration
public string ColumnName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ColumnName. |
Id
Gets or sets the Id associated with this PropertyBitEnumValue.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
Priority
Gets or sets the Priority associated with this PropertyBitEnumValue.
Declaration
public int? Priority { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The Priority. |
TableName
Gets or sets the TableName associated with this PropertyBitEnumValue.
Declaration
public string TableName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The TableName. |
ValueDescription
Gets or sets the ValueDescription associated with this PropertyBitEnumValue.
Declaration
public string ValueDescription { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ValueDescription. |
Methods
GeneratedInitializer()
This is the auto-generated initializer that knows how to deal with any relationship initialization for auto-generated relationships.
Declaration
public void GeneratedInitializer()
SetupFluentMappings(DbModelBuilder)
Any type of relationship that can't be inferred from the entity annotations must be done by hand using the Fluent api. Handle those relationships here.
Declaration
public static void SetupFluentMappings(DbModelBuilder modelBuilder)
Parameters
Type | Name | Description |
---|---|---|
System.Data.Entity.DbModelBuilder | modelBuilder | The DbModelBuilder that has all of the model entities. |