Class BookEntity
This class represents the EntityModel interface to the BsItem database table.
Inheritance
Implements
Namespace: Cmc.Nexus.Academics.Entities
Assembly: Cmc.Nexus.Academics.Contracts.dll
Syntax
public class BookEntity : Entity, IIdentifiable, IAuditable
Constructors
BookEntity()
Declaration
public BookEntity()
Fields
AuthorProperty
The Author property.
Declaration
public static readonly EntityProperty AuthorProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
BookVendorIdProperty
The BookVendorId property.
Declaration
public static readonly EntityProperty BookVendorIdProperty
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 |
CostProperty
The Cost property.
Declaration
public static readonly EntityProperty CostProperty
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 |
EditionProperty
The Edition property.
Declaration
public static readonly EntityProperty EditionProperty
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 |
IsbnProperty
The Isbn property.
Declaration
public static readonly EntityProperty IsbnProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
IsCommentsVisibleProperty
The IsCommentsVisible property.
Declaration
public static readonly EntityProperty IsCommentsVisibleProperty
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 |
NoteProperty
The Note property.
Declaration
public static readonly EntityProperty NoteProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
OnHandProperty
The OnHand property.
Declaration
public static readonly EntityProperty OnHandProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
OnOrderProperty
The OnOrder property.
Declaration
public static readonly EntityProperty OnOrderProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
PriceProperty
The Price property.
Declaration
public static readonly EntityProperty PriceProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
PriceUsedProperty
The PriceUsed property.
Declaration
public static readonly EntityProperty PriceUsedProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
PublisherProperty
The Publisher property.
Declaration
public static readonly EntityProperty PublisherProperty
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 |
YearPublishedProperty
The YearPublished property.
Declaration
public static readonly EntityProperty YearPublishedProperty
Field Value
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty |
Properties
Author
Gets or sets the Author associated with this BookEntity.
Declaration
public string Author { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Author. |
BookVendorId
Gets or sets the BookVendorId associated with this BookEntity.
Declaration
public int? BookVendorId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The BookVendorId. |
Code
Gets or sets the Code associated with this BookEntity.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Code. |
Cost
Gets or sets the Cost associated with this BookEntity.
Declaration
public decimal Cost { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | The Cost. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this BookEntity.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
Edition
Gets or sets the Edition associated with this BookEntity.
Declaration
public string Edition { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Edition. |
Id
Gets or sets the Id associated with this BookEntity.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this BookEntity.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
Isbn
Gets or sets the Isbn associated with this BookEntity.
Declaration
public string Isbn { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Isbn. |
IsCommentsVisible
Gets or sets the IsCommentsVisible associated with this BookEntity.
Declaration
public bool IsCommentsVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsCommentsVisible. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this BookEntity.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this BookEntity.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
Name
Gets or sets the Name associated with this BookEntity.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Name. |
Note
Gets or sets the Note associated with this BookEntity.
Declaration
public string Note { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Note. |
OnHand
Gets or sets the OnHand associated with this BookEntity.
Declaration
public int OnHand { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The OnHand. |
OnOrder
Gets or sets the OnOrder associated with this BookEntity.
Declaration
public int OnOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The OnOrder. |
Price
Gets or sets the Price associated with this BookEntity.
Declaration
public decimal Price { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | The Price. |
PriceUsed
Gets or sets the PriceUsed associated with this BookEntity.
Declaration
public decimal PriceUsed { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | The PriceUsed. |
Publisher
Gets or sets the Publisher associated with this BookEntity.
Declaration
public string Publisher { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Publisher. |
RowVersion
Gets or sets the RowVersion associated with this BookEntity.
Declaration
public byte[] RowVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] | The RowVersion. |
YearPublished
Gets or sets the YearPublished associated with this BookEntity.
Declaration
public string YearPublished { get; set; }
Property Value
Type | Description |
---|---|
System.String | The YearPublished. |
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()