Class CustomerRequestHandlerBase
Inheritance
System.Object
CustomerRequestHandlerBase
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Customers.Handlers
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public class CustomerRequestHandlerBase : EntityObjectDefaultRequestHandler, IRequestHandler
Constructors
CustomerRequestHandlerBase()
Declaration
public CustomerRequestHandlerBase()
Methods
CreateEntityObject(String, Nullable<PrimaryKeyId>)
Creates the entity object.
Declaration
protected override EntityObject CreateEntityObject(string metaClassName, PrimaryKeyId? primaryKeyId)
Parameters
Type | Name | Description |
---|---|---|
System.String | metaClassName | Name of the meta class. |
System.Nullable<PrimaryKeyId> | primaryKeyId | The primary key id. |
Returns
Type | Description |
---|---|
EntityObject |
Overrides
GetRelatedEntities(PrimaryKeyId, String, String)
Gets the related entities.
Declaration
protected static IEnumerable<EntityObject> GetRelatedEntities(PrimaryKeyId pk, string className, string refFieldName)
Parameters
Type | Name | Description |
---|---|---|
PrimaryKeyId | pk | The pk. |
System.String | className | Name of the class. |
System.String | refFieldName | Name of the ref field. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<EntityObject> |
PostCreate(BusinessContext)
Posts the create.
Declaration
protected override void PostCreate(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Overrides
PreDelete(BusinessContext)
Pres the delete.
Declaration
protected override void PreDelete(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Overrides
PreUpdate(BusinessContext)
Pres the update.
Declaration
protected override void PreUpdate(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |