Class WorkspaceComponent
This class represents the EntityModel interface to the WorkspaceComponent database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class WorkspaceComponent
Constructors
WorkspaceComponent()
Declaration
public WorkspaceComponent()
Properties
Bindings
Gets or sets the Bindings associated with this WorkspaceComponent.
Declaration
public string Bindings { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Bindings. |
Component
Declaration
public virtual Component Component { get; set; }
Property Value
| Type | Description |
|---|---|
| Component |
ComponentId
Gets or sets the ComponentId associated with this WorkspaceComponent.
Declaration
public int ComponentId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The ComponentId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this WorkspaceComponent.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
Id
Gets or sets the Id associated with this WorkspaceComponent.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this WorkspaceComponent.
Declaration
public bool IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsActive. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this WorkspaceComponent.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this WorkspaceComponent.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
NsaOperations
Gets or sets the NsaOperations associated with this WorkspaceComponent.
Declaration
public string NsaOperations { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The NsaOperations. |
Region
Gets or sets the Region associated with this WorkspaceComponent.
Declaration
public string Region { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Region. |
SortOrder
Gets or sets the SortOrder associated with this WorkspaceComponent.
Declaration
public int SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The SortOrder. |
StateParams
Gets or sets the StateParams associated with this WorkspaceComponent.
Declaration
public string StateParams { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The StateParams. |
UrlSlug
Gets or sets the UrlSlug associated with this WorkspaceComponent.
Declaration
public string UrlSlug { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The UrlSlug. |
Workspace
Declaration
public virtual Workspace Workspace { get; set; }
Property Value
| Type | Description |
|---|---|
| Workspace |
WorkspaceComponentIdentifier
Gets or sets the WorkspaceComponentIdentifier associated with this WorkspaceComponent.
Declaration
public Guid WorkspaceComponentIdentifier { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Guid | The WorkspaceComponentIdentifier. |
WorkspaceId
Gets or sets the WorkspaceId associated with this WorkspaceComponent.
Declaration
public int WorkspaceId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The WorkspaceId. |
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. |