Class PropertyEnumValue
This class represents the EntityModel interface to the syCode database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class PropertyEnumValue
Constructors
PropertyEnumValue()
Declaration
public PropertyEnumValue()
Properties
Code
Gets or sets the Code associated with this PropertyEnumValue.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Code. |
ColumnName
Gets or sets the ColumnName associated with this PropertyEnumValue.
Declaration
public string ColumnName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ColumnName. |
Id
Gets or sets the Id associated with this PropertyEnumValue.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
LanguageCode
Gets or sets the LanguageCode associated with this PropertyEnumValue.
Declaration
public string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The LanguageCode. |
TableName
Gets or sets the TableName associated with this PropertyEnumValue.
Declaration
public string TableName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The TableName. |
TooltipDescription
Gets or sets the TooltipDescription associated with this PropertyEnumValue.
Declaration
public string TooltipDescription { get; set; }
Property Value
Type | Description |
---|---|
System.String | The TooltipDescription. |
ValueDescription
Gets or sets the ValueDescription associated with this PropertyEnumValue.
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. |