Class Order
Inheritance
object
Entity<System.Guid>
BasicAggregateRoot<System.Guid>
AggregateRoot<System.Guid>
Order
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.TestApp.Domain
Assembly: Volo.Abp.TestApp.dll
Syntax
public class Order : AggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp
Constructors
Order()
Declaration
protected Order()
Order(Guid, string)
Declaration
public Order(Guid id, string referenceNo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Guid | id | |
| string | referenceNo |
Properties
CreationTime
Declaration
public virtual DateTime CreationTime { get; protected set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
OrderLines
Declaration
public virtual List<OrderLine> OrderLines { get; protected set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<T><OrderLine> |
ReferenceNo
Declaration
public virtual string ReferenceNo { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
TotalItemCount
Declaration
public virtual float TotalItemCount { get; protected set; }
Property Value
| Type | Description |
|---|---|
| float |
Methods
AddProduct(Guid, int)
Declaration
public void AddProduct(Guid productId, int count)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Guid | productId | |
| int | count |