Property | Type | Description | |
---|---|---|---|
ConnectionStringKeyName | string |
Method | Description | |
---|---|---|
DataAccessAdapter ( ) : System |
CTor
|
|
DataAccessAdapter ( bool keepConnectionOpen ) : System |
CTor
|
|
DataAccessAdapter ( string connectionString ) : System |
CTor
|
|
DataAccessAdapter ( string connectionString, bool keepConnectionOpen ) : System |
CTor
|
|
DataAccessAdapter ( string connectionString, bool keepConnectionOpen, CatalogNameOverwriteHashtable catalogNameOverwrites, SchemaNameOverwriteHashtable schemaNameOverwrites ) : System |
CTor.
|
|
DataAccessAdapter ( string connectionString, bool keepConnectionOpen, CatalogNameUsage catalogNameUsageSetting, string catalogNameToUse ) : System |
CTor. For backwards compatibility. |
|
DataAccessAdapter ( string connectionString, bool keepConnectionOpen, SchemaNameUsage schemaNameUsageSetting, string schemaNameToUse ) : System |
CTor
|
|
SetArithAbortFlag ( bool value ) : void |
Sets the flag to signal the SqlServer DQE to generate SET ARITHABORT ON statements prior to INSERT, DELETE and UPDATE Queries. Keep this flag to false in normal usage, but set it to true if you need to write into a table which is part of an indexed view. It will not affect normal inserts/updates that much, leaving it on is not harmful. See Books online for details on SET ARITHABORT ON. After each statement the setting is turned off if it has been turned on prior to that statement. Setting this flag is a global change. |
|
SetSqlServerCompatibilityLevel ( SqlServerCompatibilityLevel compatibilityLevel ) : void |
Sets the default compatibility level used by the DQE. Default is SqlServer2005. This is a global setting. Compatibility level influences the query generated for paging, sequence name (@@IDENTITY/SCOPE_IDENTITY()), and usage of newsequenceid() in inserts. It also influences the ado.net provider to use. This way you can switch between SqlServer server client 'SqlClient' and SqlServer CE Desktop. Setting this property will overrule a similar setting in the .config file. Don't set this property when queries are executed as it might switch factories for ADO.NET elements which could result in undefined behavior so set this property at startup of your application |
Method | Description | |
---|---|---|
CreateDynamicQueryEngine ( ) : DynamicQueryEngineBase |
Creates a new Dynamic Query engine object and passes in the defined catalog/schema overwrite hashtables.
|
|
SetPerInstanceCompatibilityLevel ( DynamicQueryEngineBase dqe ) : void |
Sets the per instance compatibility level on the dqe instance specified.
|
Method | Description | |
---|---|---|
ReadConnectionStringFromConfig ( ) : string |
Reads the value of the setting with the key ConnectionStringKeyName from the *.config file and stores that value as the active connection string to use for this object.
|
protected CreateDynamicQueryEngine ( ) : DynamicQueryEngineBase | ||
return | DynamicQueryEngineBase |
public DataAccessAdapter ( bool keepConnectionOpen ) : System | ||
keepConnectionOpen | bool | when true, the DataAccessAdapter will not close an opened connection. Use this for multi action usage. |
return | System |
public DataAccessAdapter ( string connectionString ) : System | ||
connectionString | string | The connection string to use when connecting to the database. |
return | System |
public DataAccessAdapter ( string connectionString, bool keepConnectionOpen ) : System | ||
connectionString | string | The connection string to use when connecting to the database. |
keepConnectionOpen | bool | when true, the DataAccessAdapter will not close an opened connection. Use this for multi action usage. |
return | System |
public DataAccessAdapter ( string connectionString, bool keepConnectionOpen, CatalogNameOverwriteHashtable catalogNameOverwrites, SchemaNameOverwriteHashtable schemaNameOverwrites ) : System | ||
connectionString | string | The connection string to use when connecting to the database. |
keepConnectionOpen | bool | when true, the DataAccessAdapter will not close an opened connection. Use this for multi action usage. |
catalogNameOverwrites | CatalogNameOverwriteHashtable | The from-to name value pairs and setting for the overwriting of catalog names. Can be null. |
schemaNameOverwrites | SchemaNameOverwriteHashtable | The from-to name value pairs and setting for the overwriting of schema names. Can be null. |
return | System |
public DataAccessAdapter ( string connectionString, bool keepConnectionOpen, CatalogNameUsage catalogNameUsageSetting, string catalogNameToUse ) : System | ||
connectionString | string | The connection string to use when connecting to the database. |
keepConnectionOpen | bool | when true, the DataAccessAdapter will not close an opened connection. Use this for multi action usage. |
catalogNameUsageSetting | CatalogNameUsage | Configures this data access adapter object how to threat catalog names in persistence information. |
catalogNameToUse | string | The name to use if catalogNameUsageSetting is set to ForceName. Ignored otherwise. |
return | System |
public DataAccessAdapter ( string connectionString, bool keepConnectionOpen, SchemaNameUsage schemaNameUsageSetting, string schemaNameToUse ) : System | ||
connectionString | string | The connection string to use when connecting to the database. |
keepConnectionOpen | bool | when true, the DataAccessAdapter will not close an opened connection. Use this for multi action usage. |
schemaNameUsageSetting | SchemaNameUsage | Configures this data access adapter object how to threat schema names in persistence information. |
schemaNameToUse | string | Oracle specific. The name to use if schemaNameUsageSetting is set to ForceName. Ignored otherwise. |
return | System |
public static SetArithAbortFlag ( bool value ) : void | ||
value | bool | |
return | void |
protected SetPerInstanceCompatibilityLevel ( DynamicQueryEngineBase dqe ) : void | ||
dqe | DynamicQueryEngineBase | The dqe. |
return | void |
public static SetSqlServerCompatibilityLevel ( SqlServerCompatibilityLevel compatibilityLevel ) : void | ||
compatibilityLevel | SqlServerCompatibilityLevel | |
return | void |