Class RoomResourceEntity
This class represents the EntityModel interface to the AdRoomResources database table.
Inheritance
Implements
Namespace: Cmc.Nexus.Common.Entities
Assembly: Cmc.Nexus.Common.Contracts.dll
Syntax
public class RoomResourceEntity : Entity, IIdentifiable, IAuditable
Constructors
RoomResourceEntity()
Declaration
public RoomResourceEntity()
Fields
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 |
IsRequiredProperty
The IsRequired property.
Declaration
public static readonly EntityProperty IsRequiredProperty
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 |
QuantityProperty
The Quantity property.
Declaration
public static readonly EntityProperty QuantityProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
ResourceIdProperty
The ResourceId property.
Declaration
public static readonly EntityProperty ResourceIdProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
RoomIdProperty
The RoomId property.
Declaration
public static readonly EntityProperty RoomIdProperty
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
CreatedDateTime
Gets or sets the CreatedDateTime associated with this RoomResourceEntity.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
Id
Gets or sets the Id associated with this RoomResourceEntity.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this RoomResourceEntity.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
IsRequired
Gets or sets the IsRequired associated with this RoomResourceEntity.
Declaration
public bool IsRequired { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsRequired. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this RoomResourceEntity.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this RoomResourceEntity.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Quantity
Gets or sets the Quantity associated with this RoomResourceEntity.
Declaration
public int Quantity { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Quantity. |
ResourceId
Gets or sets the ResourceId associated with this RoomResourceEntity.
Declaration
public int ResourceId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The ResourceId. |
RoomId
Gets or sets the RoomId associated with this RoomResourceEntity.
Declaration
public int RoomId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The RoomId. |
RowVersion
Gets or sets the RowVersion associated with this RoomResourceEntity.
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()