Class ColumnAutoInc
Inheritance
ColumnAutoInc
Assembly: LemonEdge.Database.Connector.dll
Syntax
public class ColumnAutoInc : IColumnAutoIncrementer
Constructors
ColumnAutoInc(IDataAccessor)
Declaration
public ColumnAutoInc(IDataAccessor accessor)
Parameters
Fields
TableName
Declaration
public const string TableName = "dbo.ColumnAutoInc"
Field Value
Methods
EnsureExists(IDbConnection)
Declaration
public Task EnsureExists(IDbConnection cn)
Parameters
Returns
GetNextBitWiseID(IDbConnection, DbTransaction, EntityDescriptor, string)
Declaration
public Task<long> GetNextBitWiseID(IDbConnection cn, DbTransaction tran, EntityDescriptor desc, string columnName)
Parameters
Returns
GetNextID(IDbConnection, IDbTransaction, EntityDescriptor, string, int)
Declaration
public Task<long> GetNextID(IDbConnection cn, IDbTransaction tran, EntityDescriptor desc, string columnName, int count)
Parameters
Returns
GetNextID(IDbConnection, IDbTransaction, string, string, bool, long, int)
Declaration
public Task<long> GetNextID(IDbConnection cn, IDbTransaction tran, string tableName, string columnName, bool ensureExistsFirst, long defaultValue, int count)
Parameters
Returns
Seed(IAsyncDbConnection)
Declaration
public Task Seed(IAsyncDbConnection cn)
Parameters
Returns
Implements
Extension Methods