Class
UniqueIdRelationalKeyGenerator

Definition

Namespace:Telerik.OpenAccess.Runtime.KeyGenerator

Assembly:Telerik.OpenAccess.Runtime.dll

Syntax:

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

Inheritance: objectHighLowRelationalKeyGeneratorUniqueIdRelationalKeyGenerator

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.init(RelationalClass, Connection, RelationalKeyGeneratorInfoCache)HighLowRelationalKeyGenerator.init(string, Connection, RelationalKeyGeneratorInfoCache)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

UniqueIdRelationalKeyGenerator(string, KeyGeneratorArgs)

Declaration

cs-api-definition
public UniqueIdRelationalKeyGenerator(string seriesName, KeyGeneratorArgs args)

Parameters

seriesName

string

args

KeyGeneratorArgs

Methods

GetStartValue(Connection, ref int)

Declaration

cs-api-definition
protected override bool GetStartValue(Connection con, ref int startValue)

Parameters

con

Connection

startValue

int

Returns

bool

Overrides HighLowRelationalKeyGenerator.GetStartValue(Connection, ref int)

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

Declaration

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

Parameters

className

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)

ToString()

Declaration

cs-api-definition
public override string ToString()

Returns

string

Overrides object.ToString()

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

Declaration

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

Parameters

className

string

classTableParam

RelationalTable

newObjectCount

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()