Class DataDictionaryColumn
This class represents the EntityModel interface to the syDictionary database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class DataDictionaryColumn
Constructors
DataDictionaryColumn()
Declaration
public DataDictionaryColumn()
Properties
ApplicationRequired
Gets or sets the ApplicationRequired associated with this DataDictionaryColumn.
Declaration
public bool ApplicationRequired { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The ApplicationRequired. |
ColumnName
Gets or sets the ColumnName associated with this DataDictionaryColumn.
Declaration
public string ColumnName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ColumnName. |
ColumnSequence
Gets or sets the ColumnSequence associated with this DataDictionaryColumn.
Declaration
public int ColumnSequence { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The ColumnSequence. |
ColumnType
Gets or sets the ColumnType associated with this DataDictionaryColumn.
Declaration
public string ColumnType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ColumnType. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this DataDictionaryColumn.
Declaration
public DateTime? CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The CreatedDateTime. |
English
Gets or sets the English associated with this DataDictionaryColumn.
Declaration
public string English { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The English. |
EntityName
Gets or sets the EntityName associated with this DataDictionaryColumn.
Declaration
public string EntityName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The EntityName. |
Id
Gets or sets the Id associated with this DataDictionaryColumn.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
InputMask
Gets or sets the InputMask associated with this DataDictionaryColumn.
Declaration
public string InputMask { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The InputMask. |
IsColumnLocalizable
Gets or sets the IsColumnLocalizable associated with this DataDictionaryColumn.
Declaration
public bool? IsColumnLocalizable { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> | The IsColumnLocalizable. |
IsDisplayInProspectTemplateUi
Gets or sets the IsDisplayInProspectTemplateUi associated with this DataDictionaryColumn.
Declaration
public bool IsDisplayInProspectTemplateUi { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsDisplayInProspectTemplateUi. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this DataDictionaryColumn.
Declaration
public DateTime? LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The LastModifiedDateTime. |
LastModifiedUser
Declaration
public virtual Staff LastModifiedUser { get; set; }
Property Value
| Type | Description |
|---|---|
| Staff |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this DataDictionaryColumn.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
MaxLength
Gets or sets the MaxLength associated with this DataDictionaryColumn.
Declaration
public int? MaxLength { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The MaxLength. |
ModuleName
Gets or sets the ModuleName associated with this DataDictionaryColumn.
Declaration
public string ModuleName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ModuleName. |
Note
Gets or sets the Note associated with this DataDictionaryColumn.
Declaration
public string Note { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Note. |
PropertyName
Gets or sets the PropertyName associated with this DataDictionaryColumn.
Declaration
public string PropertyName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PropertyName. |
Spanish
Gets or sets the Spanish associated with this DataDictionaryColumn.
Declaration
public string Spanish { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Spanish. |
TableName
Gets or sets the TableName associated with this DataDictionaryColumn.
Declaration
public string TableName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The TableName. |
UiRequired
Gets or sets the UiRequired associated with this DataDictionaryColumn.
Declaration
public bool UiRequired { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The UiRequired. |
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. |