Defines a type used to activate concrete business instances. More...
Public Member Functions | |
object | CreateInstance (Type requestedType) |
Gets a new instance of the requested type. More... | |
void | InitializeInstance (object obj) |
Initializes an existing business object instance. More... | |
void | FinalizeInstance (object obj) |
Finalizes an existing business object instance. More... | |
Type | ResolveType (Type requestedType) |
Gets the actual business domain class type based on the requested type (which might be an interface). More... | |
Defines a type used to activate concrete business instances.
Definition at line 16 of file IDataPortalActivator.cs.
object Csla.Server.IDataPortalActivator.CreateInstance | ( | Type | requestedType | ) |
Gets a new instance of the requested type.
requestedType | Requested business type (class or interface). |
Implemented in Csla.Test.Authorization.PerTypeAuthDPActivator, and Csla.Test.DataPortal.TestActivator.
void Csla.Server.IDataPortalActivator.FinalizeInstance | ( | object | obj | ) |
Finalizes an existing business object instance.
Called after a data portal operation is complete.
obj | Reference to the business object. |
Implemented in Csla.Test.Authorization.PerTypeAuthDPActivator, and Csla.Test.DataPortal.TestActivator.
void Csla.Server.IDataPortalActivator.InitializeInstance | ( | object | obj | ) |
Initializes an existing business object instance.
obj | Reference to the business object. |
Implemented in Csla.Test.Authorization.PerTypeAuthDPActivator, and Csla.Test.DataPortal.TestActivator.
Type Csla.Server.IDataPortalActivator.ResolveType | ( | Type | requestedType | ) |
Gets the actual business domain class type based on the requested type (which might be an interface).
requestedType | Type requested from the data portal. |
Implemented in Csla.Test.Authorization.PerTypeAuthDPActivator, and Csla.Test.DataPortal.TestActivator.