Interface IDataCommandProvider
Singleton application service contract creating commands for specific data contexts.
Namespace: Kephas.Data.Commands.Factory
Assembly: Kephas.Data.dll
Syntax
[SingletonAppServiceContract]
public interface IDataCommandProviderMethods
| Improve this Doc View SourceCreateCommand(Type, Type)
Creates a command for the provided data context type.
Declaration
IDataCommand CreateCommand(Type dataContextType, Type commandType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Type | dataContextType | Type of the data context. | 
| System.Type | commandType | Type of the command. | 
Returns
| Type | Description | 
|---|---|
| IDataCommand | The new command. |