Interface IDataAccessor
The entry point of the data access layer
Assembly: LemonEdge.DataAccess.Core.Abstractions.dll
Syntax
public interface IDataAccessor
Properties
DatabaseInfo
Declaration
IDatabaseInfo DatabaseInfo { get; }
Property Value
Declaration
IDbTools DbTools { get; }
Property Value
Methods
CreateCommand(IQueryInfo)
Declaration
IAsyncDbCommand CreateCommand(IQueryInfo queryInfo)
Parameters
Returns
CreateConnectionAsync(CancellationToken)
Declaration
Task<IAsyncDbConnection> CreateConnectionAsync(CancellationToken token = default)
Parameters
Returns
CreateNew()
Declaration
IDataAccessor CreateNew()
Returns
CreateParameter(string, object, bool, ParameterDirection)
Declaration
IDbDataParameter CreateParameter(string name, object value, bool isNullable = false, ParameterDirection direction = ParameterDirection.Input)
Parameters
Returns
Extension Methods