CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Server.ObjectFactoryAttribute Class Reference

Specifies that the data portal should invoke a factory object rather than the business object. More...

Inheritance diagram for Csla.Server.ObjectFactoryAttribute:

Public Member Functions

 ObjectFactoryAttribute (string factoryType)
 Creates an instance of the attribute.
 ObjectFactoryAttribute (string factoryType, string? fetchMethod)
 Creates an instance of the attribute.
 ObjectFactoryAttribute (string factoryType, string? createMethod, string? fetchMethod)
 Creates an instance of the attribute.
 ObjectFactoryAttribute (string factoryType, string? createMethod, string? fetchMethod, string? updateMethod, string? deleteMethod)
 Creates an instance of the attribute.
 ObjectFactoryAttribute (string factoryType, string? createMethod, string? fetchMethod, string? updateMethod, string? deleteMethod, string? executeMethod)
 Creates an instance of the attribute.
 ObjectFactoryAttribute (Type factoryType)
 Creates an instance of the attribute.
 ObjectFactoryAttribute (Type factoryType, string fetchMethod)
 Creates an instance of the attribute.
 ObjectFactoryAttribute (Type factoryType, string createMethod, string fetchMethod)
 Creates an instance of the attribute.
 ObjectFactoryAttribute (Type factoryType, string createMethod, string fetchMethod, string updateMethod, string deleteMethod)
 Creates an instance of the attribute.
 ObjectFactoryAttribute (Type factoryType, string createMethod, string fetchMethod, string updateMethod, string deleteMethod, string executeMethod)
 Creates an instance of the attribute.

Properties

string FactoryTypeName [get]
 Assembly qualified type name of the factory object.
string CreateMethodName [get]
 Name of the method to call for a create operation.
string FetchMethodName [get]
 Name of the method to call for a fetch operation.
string UpdateMethodName [get]
 Name of the method to call for a update operation.
string DeleteMethodName [get]
 Name of the method to call for a delete operation.
string ExecuteMethodName [get]
 Name of the method to call for a Execute operation.

Detailed Description

Specifies that the data portal should invoke a factory object rather than the business object.

Constructor & Destructor Documentation

◆ ObjectFactoryAttribute() [1/10]

Csla.Server.ObjectFactoryAttribute.ObjectFactoryAttribute ( string factoryType)
inline

Creates an instance of the attribute.

Parameters
factoryTypeAssembly qualified type name of the factory object.

The method names default to Create, Fetch, Update and Delete.

Exceptions
ArgumentExceptionfactoryType is null, string.Empty or only consists of white spaces.

◆ ObjectFactoryAttribute() [2/10]

Csla.Server.ObjectFactoryAttribute.ObjectFactoryAttribute ( string factoryType,
string? fetchMethod )
inline

Creates an instance of the attribute.

Parameters
factoryTypeAssembly qualified type name of the factory object.
fetchMethodName of the method to call for a fetch operation.
Exceptions
ArgumentExceptionfactoryType is null, string.Empty or only consists of white spaces.

◆ ObjectFactoryAttribute() [3/10]

Csla.Server.ObjectFactoryAttribute.ObjectFactoryAttribute ( string factoryType,
string? createMethod,
string? fetchMethod )
inline

Creates an instance of the attribute.

Parameters
factoryTypeAssembly qualified type name of the factory object.
createMethodName of the method to call for a create operation.
fetchMethodName of the method to call for a fetch operation.
Exceptions
ArgumentExceptionfactoryType is null, string.Empty or only consists of white spaces.

◆ ObjectFactoryAttribute() [4/10]

Csla.Server.ObjectFactoryAttribute.ObjectFactoryAttribute ( string factoryType,
string? createMethod,
string? fetchMethod,
string? updateMethod,
string? deleteMethod )
inline

Creates an instance of the attribute.

Parameters
factoryTypeAssembly qualified type name of the factory object.
createMethodName of the method to call for a create operation.
fetchMethodName of the method to call for a fetch operation.
updateMethodName of the method to call for a update operation.
deleteMethodName of the method to call for a delete operation.
Exceptions
ArgumentExceptionfactoryType is null, string.Empty or only consists of white spaces.

◆ ObjectFactoryAttribute() [5/10]

Csla.Server.ObjectFactoryAttribute.ObjectFactoryAttribute ( string factoryType,
string? createMethod,
string? fetchMethod,
string? updateMethod,
string? deleteMethod,
string? executeMethod )
inline

Creates an instance of the attribute.

Parameters
factoryTypeAssembly qualified type name of the factory object.
createMethodName of the method to call for a create operation.
fetchMethodName of the method to call for a fetch operation.
updateMethodName of the method to call for a update operation.
deleteMethodName of the method to call for a delete operation.
executeMethodName of the method to call for a Execute operation.
Exceptions
ArgumentExceptionfactoryType is null, string.Empty or only consists of white spaces.

◆ ObjectFactoryAttribute() [6/10]

Csla.Server.ObjectFactoryAttribute.ObjectFactoryAttribute ( Type factoryType)
inline

Creates an instance of the attribute.

Parameters
factoryTypeThe type of factory class or interface.
Exceptions
ArgumentNullExceptionfactoryType is null.

◆ ObjectFactoryAttribute() [7/10]

Csla.Server.ObjectFactoryAttribute.ObjectFactoryAttribute ( Type factoryType,
string fetchMethod )
inline

Creates an instance of the attribute.

Parameters
factoryTypeThe type of factory class or interface.
fetchMethodName of the method to call for a fetch operation.
Exceptions
ArgumentNullExceptionfactoryType is null.

◆ ObjectFactoryAttribute() [8/10]

Csla.Server.ObjectFactoryAttribute.ObjectFactoryAttribute ( Type factoryType,
string createMethod,
string fetchMethod )
inline

Creates an instance of the attribute.

Parameters
factoryTypeThe type of factory class or interface.
createMethodName of the method to call for a create operation.
fetchMethodName of the method to call for a fetch operation.
Exceptions
ArgumentNullExceptionfactoryType is null.

◆ ObjectFactoryAttribute() [9/10]

Csla.Server.ObjectFactoryAttribute.ObjectFactoryAttribute ( Type factoryType,
string createMethod,
string fetchMethod,
string updateMethod,
string deleteMethod )
inline

Creates an instance of the attribute.

Parameters
factoryTypeThe type of factory class or interface.
createMethodName of the method to call for a create operation.
fetchMethodName of the method to call for a fetch operation.
updateMethodName of the method to call for a update operation.
deleteMethodName of the method to call for a delete operation.
Exceptions
ArgumentNullExceptionfactoryType is null.

◆ ObjectFactoryAttribute() [10/10]

Csla.Server.ObjectFactoryAttribute.ObjectFactoryAttribute ( Type factoryType,
string createMethod,
string fetchMethod,
string updateMethod,
string deleteMethod,
string executeMethod )
inline

Creates an instance of the attribute.

Parameters
factoryTypeThe type of factory class or interface.
createMethodName of the method to call for a create operation.
fetchMethodName of the method to call for a fetch operation.
updateMethodName of the method to call for a update operation.
deleteMethodName of the method to call for a delete operation.
executeMethodName of the method to call for a Execute operation.
Exceptions
ArgumentNullExceptionfactoryType is null.

Property Documentation

◆ CreateMethodName

string Csla.Server.ObjectFactoryAttribute.CreateMethodName
get

Name of the method to call for a create operation.

The appropriate overload of this method will be invoked based on the parameters passed from the client.

◆ DeleteMethodName

string Csla.Server.ObjectFactoryAttribute.DeleteMethodName
get

Name of the method to call for a delete operation.

The appropriate overload of this method will be invoked based on the parameters passed from the client.

◆ ExecuteMethodName

string Csla.Server.ObjectFactoryAttribute.ExecuteMethodName
get

Name of the method to call for a Execute operation.

The appropriate overload of this method will be invoked based on the parameters passed from the client.

◆ FactoryTypeName

string Csla.Server.ObjectFactoryAttribute.FactoryTypeName
get

Assembly qualified type name of the factory object.

Factory class must have a parameterless default constructor.

◆ FetchMethodName

string Csla.Server.ObjectFactoryAttribute.FetchMethodName
get

Name of the method to call for a fetch operation.

The appropriate overload of this method will be invoked based on the parameters passed from the client.

◆ UpdateMethodName

string Csla.Server.ObjectFactoryAttribute.UpdateMethodName
get

Name of the method to call for a update operation.

The appropriate overload of this method will be invoked based on the parameters passed from the client.


The documentation for this class was generated from the following file: