Interface IRepositoryDescription<T>
Dynamic repository structure description interface
Inherited Members
Namespace: XData.Mapping.Dynamic
Assembly: XData.docfx.dll
Syntax
public interface IRepositoryDescription<out T> : IQueryDescription where T : class, ISqlObject, new()
Type Parameters
Name | Description |
---|---|
T |
Methods
| Improve this Doc View SourceSetBaseTable(String)
Set base table alias to repository dynamic mapping
Declaration
IRepositoryDescription<T> SetBaseTable(string baseTableAlias)
Parameters
Type | Name | Description |
---|---|---|
String | baseTableAlias | Base table alias |
Returns
Type | Description |
---|---|
IRepositoryDescription<T> | Dynamic repository description |
SetContext(String)
Set context to repository dynamic mapping
Declaration
IRepositoryDescription<T> SetContext(string context)
Parameters
Type | Name | Description |
---|---|---|
String | context | Database context name |
Returns
Type | Description |
---|---|
IRepositoryDescription<T> | Dynamic repository description |
SetFlags(DataStructureFlag)
Set flags to repository dynamic mapping
Declaration
IRepositoryDescription<T> SetFlags(DataStructureFlag flags)
Parameters
Type | Name | Description |
---|---|---|
DataStructureFlag | flags | Data repository flags |
Returns
Type | Description |
---|---|
IRepositoryDescription<T> | Dynamic repository description |
SetLogicAssemblies(String[])
Set server data logic assembly name to repository dynamic mapping
Declaration
IRepositoryDescription<T> SetLogicAssemblies(params string[] logicAssemblyNames)
Parameters
Type | Name | Description |
---|---|---|
String[] | logicAssemblyNames | Server data logic assembly names |
Returns
Type | Description |
---|---|
IRepositoryDescription<T> | Dynamic repository description |
Remarks
NOTE: Used when no IoC Container available. Otherwise register logic modules through container