Interface IColumnAutoIncrementer
Assembly: LemonEdge.Database.Connector.dll
Syntax
public interface IColumnAutoIncrementer
Methods
EnsureExists(IDbConnection)
Declaration
Task EnsureExists(IDbConnection cn)
Parameters
Returns
GetNextBitWiseID(IDbConnection, DbTransaction, EntityDescriptor, string)
Declaration
Task<long> GetNextBitWiseID(IDbConnection cn, DbTransaction tran, EntityDescriptor desc, string columnName)
Parameters
Returns
GetNextID(IDbConnection, IDbTransaction, EntityDescriptor, string, int)
Declaration
Task<long> GetNextID(IDbConnection cn, IDbTransaction tran, EntityDescriptor desc, string columnName, int count)
Parameters
Returns
GetNextID(IDbConnection, IDbTransaction, string, string, bool, long, int)
Declaration
Task<long> GetNextID(IDbConnection cn, IDbTransaction tran, string tableName, string columnName, bool ensureExistsFirst, long defaultValue, int count)
Parameters
Returns
Seed(IAsyncDbConnection)
Declaration
Task Seed(IAsyncDbConnection cn)
Parameters
Returns
Extension Methods