Class EntityObjectDefaultRequestHandler
Represents entity object default request handler.
Inheritance
Implements
Inherited Members
Namespace: Mediachase.BusinessFoundation.Data.Business
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 10.8.0Syntax
public class EntityObjectDefaultRequestHandler : BaseRequestHandler, IRequestHandler
Constructors
EntityObjectDefaultRequestHandler()
Initializes a new instance of the EntityObjectDefaultRequestHandler class.
Declaration
public EntityObjectDefaultRequestHandler()
Fields
SourceMetaObjectKey
Declaration
public const string SourceMetaObjectKey = "MC_SourceMetaObject"
Field Value
Type | Description |
---|---|
System.String |
Methods
CopyEntityObjectToMetaObject(EntityObject, MetaObject)
Copies the entity to meta object.
Declaration
protected virtual void CopyEntityObjectToMetaObject(EntityObject target, MetaObject metaObject)
Parameters
Type | Name | Description |
---|---|---|
EntityObject | target | The target. |
MetaObject | metaObject | The meta object. |
CopyMetaObjectToEntityObject(MetaObject, EntityObject)
Copies the meta object properties to entity object properties.
Declaration
protected virtual void CopyMetaObjectToEntityObject(MetaObject metaObject, EntityObject entityObject)
Parameters
Type | Name | Description |
---|---|---|
MetaObject | metaObject | The meta object. |
EntityObject | entityObject | The entity object. |
Create(BusinessContext)
Executes the main system operation.
Declaration
protected virtual void Create(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
CreateEntityObject(String, Nullable<PrimaryKeyId>)
Creates the entity object.
Declaration
protected virtual 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 |
CustomMethod(BusinessContext)
Executes the main system operation.
Declaration
protected virtual void CustomMethod(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Delete(BusinessContext)
Executes the main system operation.
Declaration
protected virtual void Delete(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Execute(BusinessContext)
Executes the main system operation.
Declaration
protected override void Execute(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Overrides
Import(BusinessContext)
Executes the main system operation.
Declaration
protected virtual void Import(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
InitializeEntity(BusinessContext)
Executes the main system operation.
Declaration
protected virtual void InitializeEntity(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
InitializeMappingDocument(BusinessContext)
Executes the main system operation.
Declaration
protected virtual void InitializeMappingDocument(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
List(BusinessContext)
Executes the main system operation.
Declaration
protected virtual void List(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Load(BusinessContext)
Executes the main system operation.
Declaration
protected virtual void Load(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PostCreate(BusinessContext)
Executes after the main system operation.
Declaration
protected virtual void PostCreate(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PostCreateInsideTransaction(BusinessContext)
Executes inside transaction and after the main system operation.
Declaration
protected virtual void PostCreateInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PostCustomMethod(BusinessContext)
Executes after the main system operation.
Declaration
protected virtual void PostCustomMethod(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PostCustomMethodInsideTransaction(BusinessContext)
Executes inside transaction and after the main system operation.
Declaration
protected virtual void PostCustomMethodInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PostDelete(BusinessContext)
Executes after the main system operation.
Declaration
protected virtual void PostDelete(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PostDeleteInsideTransaction(BusinessContext)
Executes inside transaction and after the main system operation.
Declaration
protected virtual void PostDeleteInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PostExecute(BusinessContext)
Executes after the main system operation.
Declaration
protected override void PostExecute(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Overrides
PostExecuteInsideTransaction(BusinessContext)
Executes inside transaction and after the main system operation.
Declaration
protected override void PostExecuteInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Overrides
Remarks
For internal use only.
PostImport(BusinessContext)
Executes after the main system operation.
Declaration
protected virtual void PostImport(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PostImportInsideTransaction(BusinessContext)
Executes inside transaction and after the main system operation.
Declaration
protected virtual void PostImportInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PostInitializeEntity(BusinessContext)
Executes after the main system operation.
Declaration
protected virtual void PostInitializeEntity(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PostInitializeEntityInsideTransaction(BusinessContext)
Executes inside transaction and after the main system operation.
Declaration
protected virtual void PostInitializeEntityInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PostInitializeMappingDocument(BusinessContext)
Executes after the main system operation.
Declaration
protected virtual void PostInitializeMappingDocument(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PostInitializeMappingDocumentInsideTransaction(BusinessContext)
Executes inside transaction and after the main system operation.
Declaration
protected virtual void PostInitializeMappingDocumentInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PostList(BusinessContext)
Executes after the main system operation.
Declaration
protected virtual void PostList(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PostListInsideTransaction(BusinessContext)
Executes inside transaction and after the main system operation.
Declaration
protected virtual void PostListInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PostLoad(BusinessContext)
Executes after the main system operation.
Declaration
protected virtual void PostLoad(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PostLoadInsideTransaction(BusinessContext)
Executes inside transaction and after the main system operation.
Declaration
protected virtual void PostLoadInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PostUpdate(BusinessContext)
Executes after the main system operation.
Declaration
protected virtual void PostUpdate(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PostUpdateInsideTransaction(BusinessContext)
Executes inside transaction and after the main system operation.
Declaration
protected virtual void PostUpdateInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PreCreate(BusinessContext)
Executes before the main system operation.
Declaration
protected virtual void PreCreate(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PreCreateInsideTransaction(BusinessContext)
Executes inside transaction and before the main system operation.
Declaration
protected virtual void PreCreateInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PreCustomMethod(BusinessContext)
Executes before the main system operation.
Declaration
protected virtual void PreCustomMethod(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PreCustomMethodInsideTransaction(BusinessContext)
Executes inside transaction and before the main system operation.
Declaration
protected virtual void PreCustomMethodInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PreDelete(BusinessContext)
Executes before the main system operation.
Declaration
protected virtual void PreDelete(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PreDeleteInsideTransaction(BusinessContext)
Executes inside transaction and before the main system operation.
Declaration
protected virtual void PreDeleteInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PreExecute(BusinessContext)
Executes before the main system operation.
Declaration
protected override void PreExecute(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Overrides
PreExecuteInsideTransaction(BusinessContext)
Executes inside transaction and before the main system operation.
Declaration
protected override void PreExecuteInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Overrides
Remarks
For internal use only.
PreImport(BusinessContext)
Executes before the main system operation.
Declaration
protected virtual void PreImport(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PreImportInsideTransaction(BusinessContext)
Executes inside transaction and before the main system operation.
Declaration
protected virtual void PreImportInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PreInitializeEntity(BusinessContext)
Executes before the main system operation.
Declaration
protected virtual void PreInitializeEntity(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PreInitializeEntityInsideTransaction(BusinessContext)
Executes inside transaction and before the main system operation.
Declaration
protected virtual void PreInitializeEntityInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PreInitializeMappingDocument(BusinessContext)
Executes before the main system operation.
Declaration
protected virtual void PreInitializeMappingDocument(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PreInitializeMappingDocumentInsideTransaction(BusinessContext)
Executes inside transaction and before the main system operation.
Declaration
protected virtual void PreInitializeMappingDocumentInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PreList(BusinessContext)
Executes before the main system operation.
Declaration
protected virtual void PreList(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PreListInsideTransaction(BusinessContext)
Executes inside transaction and before the main system operation.
Declaration
protected virtual void PreListInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PreLoad(BusinessContext)
Executes before the main system operation.
Declaration
protected virtual void PreLoad(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PreLoadInsideTransaction(BusinessContext)
Executes inside transaction and before the main system operation.
Declaration
protected virtual void PreLoadInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
PreUpdate(BusinessContext)
Executes before the main system operation.
Declaration
protected virtual void PreUpdate(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
PreUpdateInsideTransaction(BusinessContext)
Executes inside transaction and before the main system operation.
Declaration
protected virtual void PreUpdateInsideTransaction(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |
Remarks
For internal use only.
Update(BusinessContext)
Executes the main system operation.
Declaration
protected virtual void Update(BusinessContext context)
Parameters
Type | Name | Description |
---|---|---|
BusinessContext | context | The context. |