CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
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. More...
 
 MobileFactoryAttribute (string factoryType, string createMethod, string fetchMethod)
 Creates an instance of the attribute. More...
 
 MobileFactoryAttribute (string factoryType, string fetchMethod)
 Creates an instance of the attribute. More...
 
 MobileFactoryAttribute (string factoryType, string createMethod, string fetchMethod, string updateMethod, string deleteMethod)
 Creates an instance of the attribute. More...
 
 MobileFactoryAttribute (string factoryType, string createMethod, string fetchMethod, string updateMethod, string deleteMethod, string executeMethod)
 Creates an instance of the attribute. More...
 

Properties

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

Detailed Description

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

Definition at line 22 of file MobileFactoryAttribute.cs.

Constructor & Destructor Documentation

◆ MobileFactoryAttribute() [1/5]

Csla.Server.MobileFactoryAttribute.MobileFactoryAttribute ( string  factoryType)

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

Definition at line 83 of file MobileFactoryAttribute.cs.

◆ MobileFactoryAttribute() [2/5]

Csla.Server.MobileFactoryAttribute.MobileFactoryAttribute ( string  factoryType,
string  createMethod,
string  fetchMethod 
)

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.

Definition at line 104 of file MobileFactoryAttribute.cs.

◆ MobileFactoryAttribute() [3/5]

Csla.Server.MobileFactoryAttribute.MobileFactoryAttribute ( string  factoryType,
string  fetchMethod 
)

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.

Definition at line 123 of file MobileFactoryAttribute.cs.

◆ MobileFactoryAttribute() [4/5]

Csla.Server.MobileFactoryAttribute.MobileFactoryAttribute ( string  factoryType,
string  createMethod,
string  fetchMethod,
string  updateMethod,
string  deleteMethod 
)

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.

Definition at line 148 of file MobileFactoryAttribute.cs.

◆ MobileFactoryAttribute() [5/5]

Csla.Server.MobileFactoryAttribute.MobileFactoryAttribute ( string  factoryType,
string  createMethod,
string  fetchMethod,
string  updateMethod,
string  deleteMethod,
string  executeMethod 
)

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.

Definition at line 176 of file MobileFactoryAttribute.cs.

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.

Definition at line 39 of file MobileFactoryAttribute.cs.

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

Definition at line 63 of file MobileFactoryAttribute.cs.

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

Definition at line 71 of file MobileFactoryAttribute.cs.

◆ FactoryTypeName

string Csla.Server.MobileFactoryAttribute.FactoryTypeName
get

Assembly qualified type name of the factory object.

Factory class must have a parameterless default constructor.

Definition at line 31 of file MobileFactoryAttribute.cs.

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

Definition at line 47 of file MobileFactoryAttribute.cs.

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

Definition at line 55 of file MobileFactoryAttribute.cs.