Click or drag to resize

SqlEngineFeatures Enumeration

Represents features of SQL engine

Namespace: SanteDB.OrmLite.Providers
Assembly: SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 3.0.2081-alpha+d0a78774d3f97b9193d2ae2fef6d129ea9f29519
Syntax
[FlagsAttribute]
public enum SqlEngineFeatures
Members
Member nameValueDescription
None0 The sql engine has no features
ReturnedInsertsAsReader1 The sql engine returns the INSERT A RETURNING B as a data reader
AutoGenerateGuids2 The sql engine can auto-generate UUIDS when the AutoGeneratedAttribute is on a colum
AutoGenerateTimestamps4 The sql engine can auto-generate TIMESTAMPS when the AutoGeneratedAttribute is on a DateTimeOffset column
LimitOffset8 The sql engine uses standard OFFSET X ROWS LIMIT Y ROWS syntax
FetchOffset16 The sql engine uses FETCH FIRST X ROWS ONLY LIMIT Y ROWS syntax
ReturnedInsertsAsParms32 The sql engine returns the INSERT A RETURNING B as a series of output parameters
StrictSubQueryColumnNames64 The sql engine is strict about sub-query column names
MustNameSubQuery128 The sql engine requires that sub-queries have names
SetTimeout256 The sql engine supports the SET TIMEOUT option
ReturnedUpdatesAsReader512 The sql egine supports updates as a reader
MaterializedViews1,024 The sql engine supports materialized views
AutoGenerateSequences2,048 The SQL engine can auto-generate columns with AutoGeneratedAttribute of type int (sequences)
Truncate4,096 The SQL engine supports the TRUNCATE command
Cascades8,192 The SQL engine supports TRUNCATE X CASCADE or DELETE FROM X CASCADE syntax
StoredFreetextIndex16,384 The SQL engine requires manual intervention of the freetext index
AuditGeneratePrimaryKeySequences32,768 Can generate primary key sequences
See Also