Class FeatureSetting
This class represents the EntityModel interface to the SyFeatureFlags database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class FeatureSetting
Constructors
FeatureSetting()
Declaration
public FeatureSetting()
Properties
CreatedDateTime
Gets or sets the CreatedDateTime associated with this FeatureSetting.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
DisplayOrder
Gets or sets the DisplayOrder associated with this FeatureSetting.
Declaration
public int DisplayOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The DisplayOrder. |
FeatureName
Gets or sets the FeatureName associated with this FeatureSetting.
Declaration
public string FeatureName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The FeatureName. |
FeatureStatus
Gets or sets the FeatureStatus associated with this FeatureSetting.
Declaration
public bool FeatureStatus { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The FeatureStatus. |
Id
Gets or sets the Id associated with this FeatureSetting.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsEnabled
Gets or sets the IsEnabled associated with this FeatureSetting.
Declaration
public bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsEnabled. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this FeatureSetting.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this FeatureSetting.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
LongPrompt
Gets or sets the LongPrompt associated with this FeatureSetting.
Declaration
public string LongPrompt { get; set; }
Property Value
Type | Description |
---|---|
System.String | The LongPrompt. |
Module
Gets or sets the Module associated with this FeatureSetting.
Declaration
public string Module { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Module. |
Prompt
Gets or sets the Prompt associated with this FeatureSetting.
Declaration
public string Prompt { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Prompt. |
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. |