ISqlProvider Type
Instance members
| Instance member |
Description
|
Full Usage:
this.CloseConnectionAfterQuery
Returns: bool
Modifiers: abstract |
MS Access needs to keep connection open
|
Full Usage:
this.CreateCommand
Parameters:
IDbConnection
arg1 : string
Returns: IDbCommand
Modifiers: abstract |
return a new command associated with the provided connection and command text
|
Full Usage:
this.CreateCommandParameter
Parameters:
QueryParameter
arg1 : obj
Returns: IDbDataParameter
Modifiers: abstract |
return a new command parameter with the provided name, value and optionally type, direction and length
|
Full Usage:
this.CreateConnection
Parameters:
string
Returns: IDbConnection
Modifiers: abstract |
return a new, unopened connection using the provided connection string
|
|
This function will be called when the provider is first created and should be used to generate a cache of type mappings, and to set the three mapping function properties
|
Full Usage:
this.DesignConnection
Returns: bool
Modifiers: abstract |
MSSDT doesn't do design-time connection
|
Full Usage:
this.ExecuteSprocCommand
Parameters:
IDbCommand
arg1 : QueryParameter[]
arg2 : QueryParameter[]
arg3 : obj[]
Returns: ReturnValueType
Modifiers: abstract |
Builds a command representing a call to a stored procedure
|
Full Usage:
this.ExecuteSprocCommandAsync
Parameters:
DbCommand
arg1 : QueryParameter[]
arg2 : QueryParameter[]
arg3 : obj[]
Returns: Task<ReturnValueType>
Modifiers: abstract |
Builds a command representing a call to a stored procedure, executing async
|
Full Usage:
this.GenerateQueryText
Parameters:
SqlQuery
arg1 : string
arg2 : Table
arg3 : Dictionary<string, ResizeArray<ProjectionParameter>>
arg4 : bool
arg5 : IDbConnection
Returns: string * ResizeArray<IDbDataParameter>
Modifiers: abstract |
Accepts a SqlQuery object and produces the SQL to execute on the server. the other parameters are the base table alias, the base table, and a dictionary containing the columns from the various table aliases that are in the SELECT projection
|
Full Usage:
this.GetColumnDescription
Parameters:
IDbConnection
arg1 : string
arg2 : string
Returns: string
Modifiers: abstract |
Queries column descriptions / comments for tooltip-info, table name, column name to description
|
Full Usage:
this.GetColumns
Parameters:
IDbConnection
arg1 : Table
Returns: ColumnLookup
Modifiers: abstract |
Queries the given table and returns a list of its columns this function should also populate a primary key cache for tables that have a single non-composite primary key
|
Full Usage:
this.GetIndividualQueryText
Parameters:
Table
arg1 : string
Returns: string
Modifiers: abstract |
Returns the db vendor specific SQL query to select a single row based on the table and column name specified
|
Full Usage:
this.GetIndividualsQueryText
Parameters:
Table
arg1 : int
Returns: string
Modifiers: abstract |
Returns the db vendor specific SQL query to select the top x amount of rows from the given table
|
Full Usage:
this.GetLockObject
Returns: obj
Modifiers: abstract |
Provider specific lock to do provider specific locking
|
|
Returns the primary key column for a given table from the pre-populated cache as generated by calls to GetColumns
|
Full Usage:
this.GetRelationships
Parameters:
IDbConnection
arg1 : Table
Returns: Relationship array * Relationship array
Modifiers: abstract |
Returns constraint information for a given table, returning two lists of relationships, where the first are relationships where the table is the primary entity, and the second where it is the foreign entity
|
|
Returns cached schema information, depending on the provider the cached schema may contain the whole database schema or only the schema for entities referenced in the current context
|
|
|
Full Usage:
this.GetTableDescription
Parameters:
IDbConnection
arg1 : string
Returns: string
Modifiers: abstract |
Queries table descriptions / comments for tooltip-info, table name to description
|
Full Usage:
this.GetTables
Parameters:
IDbConnection
arg1 : CaseSensitivityChange
Returns: Table array
Modifiers: abstract |
Queries the information schema and returns a list of table information
|
Full Usage:
this.ProcessUpdates
Parameters:
IDbConnection
arg1 : ConcurrentDictionary<SqlEntity, DateTime>
arg2 : TransactionOptions
arg3 : Option<int>
Modifiers: abstract |
Writes all pending database changes to database
|
Full Usage:
this.ProcessUpdatesAsync
Parameters:
DbConnection
arg1 : ConcurrentDictionary<SqlEntity, DateTime>
arg2 : TransactionOptions
arg3 : Option<int>
Returns: Task<unit>
Modifiers: abstract |
Asynchronously writes all pending database changes to database
|
Full Usage:
this.StoredProcedures
Returns: bool
Modifiers: abstract |
SQLITE doesn't have command type of stored procedures
|