Interface IQueryFactoryProvider
Singleton application service contract for the query factory provider.
Namespace: Kephas.Data.LLBLGen
Assembly: Kephas.Data.LLBLGen.dll
Syntax
[SingletonAppServiceContract]
public interface IQueryFactoryProvider
Methods
| Improve this Doc View SourceCreateQueryFactory(DataAccessAdapterBase, Context)
Creates query factory based on the data access adapter and the context to use.
Declaration
IQueryFactory CreateQueryFactory(DataAccessAdapterBase adapter, Context contextToUse)
Parameters
| Type | Name | Description |
|---|---|---|
| SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase | adapter | The adapter. |
| SD.LLBLGen.Pro.ORMSupportClasses.Context | contextToUse | The context to use. |
Returns
| Type | Description |
|---|---|
| IQueryFactory | The new query factory. |