Class
IncrementalGuidKeyGenerator

Definition

Namespace:Telerik.OpenAccess.Runtime.KeyGenerator

Assembly:Telerik.OpenAccess.Runtime.dll

Syntax:

cs-api-definition
public class IncrementalGuidKeyGenerator : HighLowRelationalKeyGenerator, RelationalKeyGenerator

Inheritance: objectHighLowRelationalKeyGeneratorIncrementalGuidKeyGenerator

Implements: RelationalKeyGenerator

Inherited Members HighLowRelationalKeyGenerator.classNameHighLowRelationalKeyGenerator.keyGenTableNameHighLowRelationalKeyGenerator.keyGenTableHighLowRelationalKeyGenerator.classTableHighLowRelationalKeyGenerator.classPkHighLowRelationalKeyGenerator.keyGenPkColumnHighLowRelationalKeyGenerator.keyGenValueColumnHighLowRelationalKeyGenerator.pkJavaTypeCodeHighLowRelationalKeyGenerator.tableNameHighLowRelationalKeyGenerator.schemaNameHighLowRelationalKeyGenerator.keyColumnNameHighLowRelationalKeyGenerator.valueColumnNameHighLowRelationalKeyGenerator.keyColumnTypeHighLowRelationalKeyGenerator.keyColumnLengthHighLowRelationalKeyGenerator.grabSizeHighLowRelationalKeyGenerator.startHighLowRelationalKeyGenerator.createTableHighLowRelationalKeyGenerator.pkConstraintHighLowRelationalKeyGenerator.updateSqlHighLowRelationalKeyGenerator.selectSqlHighLowRelationalKeyGenerator.lastUsedHighLowRelationalKeyGenerator.grabLeftHighLowRelationalKeyGenerator.ignoreMissingTablesHighLowRelationalKeyGenerator.classTableNameHighLowRelationalKeyGenerator.sqlDriverHighLowRelationalKeyGenerator.GetInsertSQL(RelationalClass, RelationalTable, string, string)HighLowRelationalKeyGenerator.isPostInsertGenerator()HighLowRelationalKeyGenerator.isAutoIncPostInsertGenerator()HighLowRelationalKeyGenerator.IsCached(Connection, RelationalKeyGeneratorInfoCache, string, string, string, string, out bool)HighLowRelationalKeyGenerator.GetStartValue(Connection, ref int)HighLowRelationalKeyGenerator.needsExtraPkDuringInsert()HighLowRelationalKeyGenerator.AddKeyGenTables(Dictionary<string, RelationalTable>, RelationalMetaDataBuilder)HighLowRelationalKeyGenerator.generatePrimaryKeyPre(string, RelationalTable, int, object[])HighLowRelationalKeyGenerator.GetUniqueId(Connection, string, int, out long)HighLowRelationalKeyGenerator.cleanup(ResultSet)HighLowRelationalKeyGenerator.cleanup(Statement)HighLowRelationalKeyGenerator.generatePrimaryKeyPost(RelationalClass, object[], Connection, Statement)HighLowRelationalKeyGenerator.getPostInsertSQLSuffix(RelationalClass, RelationalTable)HighLowRelationalKeyGenerator.IsInsertSQLProvidedHighLowRelationalKeyGenerator.IsGuidKeyGeneratorHighLowRelationalKeyGenerator.IsOverwritingKeyGenerator

Constructors

IncrementalGuidKeyGenerator(KeyGeneratorArgs)

Declaration

cs-api-definition
public IncrementalGuidKeyGenerator(KeyGeneratorArgs args)

Parameters

args

KeyGeneratorArgs

Fields

entry

Declaration

cs-api-definition
protected readonly string entry

Field Value

string

Methods

GetGuidRange()

Declaration

cs-api-definition
public byte GetGuidRange()

Returns

byte

GetUniqueIds<T>(string, int, int, OAFunc<RelationalKeyGenerator, Connection>, out Connection, out bool)

Declaration

cs-api-definition
public override IEnumerable<T> GetUniqueIds<T>(string sequenceName, int requestedCount, int grabSize, Utils.OAFunc<RelationalKeyGenerator, Connection> funcObtainConnection, out Connection con, out bool shouldCommit)

Parameters

sequenceName

string

requestedCount

int

grabSize

int

funcObtainConnection

Utils.OAFunc<RelationalKeyGenerator, Connection>

con

Connection

shouldCommit

bool

Returns

IEnumerable<T>

Overrides HighLowRelationalKeyGenerator.GetUniqueIds<T>(string, int, int, Utils.OAFunc<RelationalKeyGenerator, Connection>, out Connection, out bool)

SetGuidRange(byte, OAFunc<RelationalKeyGenerator, Connection>, out Connection, out bool)

Declaration

cs-api-definition
public void SetGuidRange(byte range, Utils.OAFunc<RelationalKeyGenerator, Connection> funcObtainConnection, out Connection connection, out bool shouldCommit)

Parameters

range

byte

funcObtainConnection

Utils.OAFunc<RelationalKeyGenerator, Connection>

connection

Connection

shouldCommit

bool

generatePrimaryKeyPre(string, RelationalTable, int, object[], Connection)

Declaration

cs-api-definition
public override void generatePrimaryKeyPre(string className, RelationalTable classTableParam, int newGrabSize, object[] data, Connection con)

Parameters

className

string

classTableParam

RelationalTable

newGrabSize

int

data

object[]

con

Connection

Overrides HighLowRelationalKeyGenerator.generatePrimaryKeyPre(string, RelationalTable, int, object[], Connection)

getRequiresOwnConnection()

Declaration

cs-api-definition
public override bool getRequiresOwnConnection()

Returns

bool

Overrides HighLowRelationalKeyGenerator.getRequiresOwnConnection()

init(RelationalClass, Connection, RelationalKeyGeneratorInfoCache)

Declaration

cs-api-definition
public override bool init(RelationalClass relationalClass, Connection con, RelationalKeyGeneratorInfoCache relationalKeyGeneratorInfoCache)

Parameters

relationalClass

RelationalClass

con

Connection

relationalKeyGeneratorInfoCache

RelationalKeyGeneratorInfoCache

Returns

bool

Overrides HighLowRelationalKeyGenerator.init(RelationalClass, Connection, RelationalKeyGeneratorInfoCache)

init(string, Connection, RelationalKeyGeneratorInfoCache)

Declaration

cs-api-definition
public override bool init(string sequenceName, Connection con, RelationalKeyGeneratorInfoCache relationalKeyGeneratorInfoCache)

Parameters

sequenceName

string

con

Connection

relationalKeyGeneratorInfoCache

RelationalKeyGeneratorInfoCache

Returns

bool

Overrides HighLowRelationalKeyGenerator.init(string, Connection, RelationalKeyGeneratorInfoCache)