Class RoomEntity
This class represents the EntityModel interface to the AdRoom database table.
Inheritance
Implements
Namespace: Cmc.Nexus.Common.Entities
Assembly: Cmc.Nexus.Common.Contracts.dll
Syntax
public class RoomEntity : Entity, IIdentifiable, IAuditable
Constructors
RoomEntity()
Declaration
public RoomEntity()
Fields
BuildingIdProperty
The BuildingId property.
Declaration
public static readonly EntityProperty BuildingIdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
BuildingNumberProperty
The BuildingNumber property.
Declaration
public static readonly EntityProperty BuildingNumberProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
CapacityProperty
The Capacity property.
Declaration
public static readonly EntityProperty CapacityProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
CodeProperty
The Code property.
Declaration
public static readonly EntityProperty CodeProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
CreatedDateTimeProperty
The CreatedDateTime property.
Declaration
public static readonly EntityProperty CreatedDateTimeProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
IdProperty
The Id property.
Declaration
public static readonly EntityProperty IdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
IsActiveProperty
The IsActive property.
Declaration
public static readonly EntityProperty IsActiveProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
IsConflictsCheckedProperty
The IsConflictsChecked property.
Declaration
public static readonly EntityProperty IsConflictsCheckedProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
LastModifiedDateTimeProperty
The LastModifiedDateTime property.
Declaration
public static readonly EntityProperty LastModifiedDateTimeProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
LastModifiedUserIdProperty
The LastModifiedUserId property.
Declaration
public static readonly EntityProperty LastModifiedUserIdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
NameProperty
The Name property.
Declaration
public static readonly EntityProperty NameProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
ResourcesProperty
The Resources property.
Declaration
public static readonly EntityProperty ResourcesProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
RoomNumberProperty
The RoomNumber property.
Declaration
public static readonly EntityProperty RoomNumberProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
RowVersionProperty
The RowVersion property.
Declaration
public static readonly EntityProperty RowVersionProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
Properties
BuildingId
Gets or sets the BuildingId associated with this RoomEntity.
Declaration
public int BuildingId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The BuildingId. |
BuildingNumber
Gets or sets the BuildingNumber associated with this RoomEntity.
Declaration
public string BuildingNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | The BuildingNumber. |
Capacity
Gets or sets the Capacity associated with this RoomEntity.
Declaration
public int Capacity { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Capacity. |
Code
Gets or sets the Code associated with this RoomEntity.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Code. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this RoomEntity.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
Id
Gets or sets the Id associated with this RoomEntity.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this RoomEntity.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
IsConflictsChecked
Gets or sets the IsConflictsChecked associated with this RoomEntity.
Declaration
public bool IsConflictsChecked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsConflictsChecked. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this RoomEntity.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this RoomEntity.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
Name
Gets or sets the Name associated with this RoomEntity.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Name. |
Resources
Declaration
public virtual EntityCollection<RoomResourceEntity> Resources { get; set; }
Property Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityCollection<RoomResourceEntity> |
RoomNumber
Gets or sets the RoomNumber associated with this RoomEntity.
Declaration
public string RoomNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | The RoomNumber. |
RowVersion
Gets or sets the RowVersion associated with this RoomEntity.
Declaration
public byte[] RowVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] | The RowVersion. |
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()