Class OrganizationRequestHandler
OrganizationRequestHandler
Inheritance
System.Object
    
    
    
    OrganizationRequestHandler
  Implements
Inherited Members
Namespace: Mediachase.Commerce.Customers.Handlers
Assembly: Mediachase.Commerce.dll
Version: 14.26.0Syntax
public class OrganizationRequestHandler : CustomerRequestHandlerBase, IRequestHandlerConstructors
OrganizationRequestHandler()
Declaration
public OrganizationRequestHandler()Methods
CheckCycleReferense(PrimaryKeyId, PrimaryKeyId)
Checks the cycle referense.
Declaration
public static bool CheckCycleReferense(PrimaryKeyId orgId, PrimaryKeyId parentId)Parameters
| Type | Name | Description | 
|---|---|---|
| PrimaryKeyId | orgId | The org id. | 
| PrimaryKeyId | parentId | The parent id. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
CheckCycleReferense(OrganizationEntity)
Checks the cycle referense.
Declaration
public static bool CheckCycleReferense(OrganizationEntity orgEntity)Parameters
| Type | Name | Description | 
|---|---|---|
| OrganizationEntity | orgEntity | The org entity. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
CheckSelfLoopBackReferense(PrimaryKeyId, PrimaryKeyId)
Checks the self loop back referense.
Declaration
public static bool CheckSelfLoopBackReferense(PrimaryKeyId orgId, PrimaryKeyId parentId)Parameters
| Type | Name | Description | 
|---|---|---|
| PrimaryKeyId | orgId | The org id. | 
| PrimaryKeyId | parentId | The parent id. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
CheckSelfLoopBackReferense(OrganizationEntity)
Checks the self loop back referense.
Declaration
public static bool CheckSelfLoopBackReferense(OrganizationEntity orgEntity)Parameters
| Type | Name | Description | 
|---|---|---|
| OrganizationEntity | orgEntity | The org entity. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
PreCreate(BusinessContext)
Pres the create.
Declaration
protected override void PreCreate(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. | 
