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

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

Inheritance diagram for Csla.Server.MobileFactoryAttribute:

Public Member Functions

 MobileFactoryAttribute (string factoryType)
 Creates an instance of the attribute.
 MobileFactoryAttribute (string factoryType, string fetchMethod)
 Creates an instance of the attribute.
 MobileFactoryAttribute (string factoryType, string createMethod, string fetchMethod)
 Creates an instance of the attribute.
 MobileFactoryAttribute (string factoryType, string createMethod, string fetchMethod, string updateMethod, string deleteMethod)
 Creates an instance of the attribute.
 MobileFactoryAttribute (string 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 WCF data portal should invoke a factory object rather than the business object.

Constructor & Destructor Documentation

◆ MobileFactoryAttribute() [1/5]

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

Creates an instance of the attribute.

Parameters
factoryTypeAssembly qualified type name of the factory object.

The default names for the factory methods are Create(), Fetch(), Update() and Delete().

◆ MobileFactoryAttribute() [2/5]

Csla.Server.MobileFactoryAttribute.MobileFactoryAttribute ( 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.

◆ MobileFactoryAttribute() [3/5]

Csla.Server.MobileFactoryAttribute.MobileFactoryAttribute ( 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.

◆ MobileFactoryAttribute() [4/5]

Csla.Server.MobileFactoryAttribute.MobileFactoryAttribute ( 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.

◆ MobileFactoryAttribute() [5/5]

Csla.Server.MobileFactoryAttribute.MobileFactoryAttribute ( 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.

Property Documentation

◆ CreateMethodName

string Csla.Server.MobileFactoryAttribute.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.MobileFactoryAttribute.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.MobileFactoryAttribute.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.MobileFactoryAttribute.FactoryTypeName
get

Assembly qualified type name of the factory object.

Factory class must have a parameterless default constructor.

◆ FetchMethodName

string Csla.Server.MobileFactoryAttribute.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.MobileFactoryAttribute.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: