CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Server.IDataPortalActivator Interface Reference

Defines a type used to activate concrete business instances. More...

Inherited by Csla.Server.DefaultDataPortalActivator.

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...
 

Detailed Description

Defines a type used to activate concrete business instances.

Definition at line 16 of file IDataPortalActivator.cs.

Member Function Documentation

◆ CreateInstance()

object Csla.Server.IDataPortalActivator.CreateInstance ( Type  requestedType)

Gets a new instance of the requested type.

Parameters
requestedTypeRequested business type (class or interface).
Returns
Business object instance.

◆ FinalizeInstance()

void Csla.Server.IDataPortalActivator.FinalizeInstance ( object  obj)

Finalizes an existing business object instance.

Called after a data portal operation is complete.

Parameters
objReference to the business object.

◆ InitializeInstance()

void Csla.Server.IDataPortalActivator.InitializeInstance ( object  obj)

Initializes an existing business object instance.

Parameters
objReference to the business object.

◆ ResolveType()

Type Csla.Server.IDataPortalActivator.ResolveType ( Type  requestedType)

Gets the actual business domain class type based on the requested type (which might be an interface).

Parameters
requestedTypeType requested from the data portal.