Class Book
This class represents the EntityModel interface to the BsItem database table.
Inheritance
Implements
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class Book : IReferenceItem, IIdentifiable
Constructors
Book()
Declaration
public Book()
Properties
Author
Gets or sets the Author associated with this Book.
Declaration
public string Author { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Author. |
BookVendorId
Gets or sets the BookVendorId associated with this Book.
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 Book.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Code. |
Cost
Gets or sets the Cost associated with this Book.
Declaration
public decimal Cost { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | The Cost. |
Courses
Declaration
public virtual ICollection<CourseBook> Courses { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<CourseBook> |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this Book.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
Edition
Gets or sets the Edition associated with this Book.
Declaration
public string Edition { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Edition. |
Enrollments
Declaration
public virtual ICollection<StudentEnrollmentPeriodBook> Enrollments { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<StudentEnrollmentPeriodBook> |
Id
Gets or sets the Id associated with this Book.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this Book.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
Isbn
Gets or sets the Isbn associated with this Book.
Declaration
public string Isbn { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Isbn. |
IsCommentsVisible
Gets or sets the IsCommentsVisible associated with this Book.
Declaration
public bool IsCommentsVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsCommentsVisible. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this Book.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this Book.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
Name
Gets or sets the Name associated with this Book.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Name. |
Note
Gets or sets the Note associated with this Book.
Declaration
public string Note { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Note. |
OnHand
Gets or sets the OnHand associated with this Book.
Declaration
public int OnHand { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The OnHand. |
OnOrder
Gets or sets the OnOrder associated with this Book.
Declaration
public int OnOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The OnOrder. |
Price
Gets or sets the Price associated with this Book.
Declaration
public decimal Price { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | The Price. |
PriceUsed
Gets or sets the PriceUsed associated with this Book.
Declaration
public decimal PriceUsed { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal | The PriceUsed. |
Publisher
Gets or sets the Publisher associated with this Book.
Declaration
public string Publisher { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Publisher. |
YearPublished
Gets or sets the YearPublished associated with this Book.
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()