This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public class SqlServerDatabase |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class SqlServerDatabase |
The type exposes the following methods.
Public Methods
Name | Description | |
---|---|---|
CreateAdapter |
Creates an IDbDataAdapter instance for the current database server.
(Overrides Database..::CreateAdapter()()()().) |
|
CreateCommand | Overloaded. | |
CreateConnection |
Create an IDbConnection instance for the current database server.
(Inherited from Database.) |
|
CreatePagingQuery |
Not supported.
(Overrides Database..::CreatePagingQuery(String, String, Int32, Int32).) |
|
CreateParameter | Overloaded. | |
Equals | (Inherited from Object.) | |
ExecuteNonQuery |
Executes the query. No resultset is returned.
(Inherited from Database.) |
|
ExecuteNonQuery |
Executes the query. No resultset is returned.
(Inherited from Database.) |
|
ExecuteNonQuery |
Executes the query. No resultset is returned.
(Inherited from Database.) |
|
ExecuteNonQuery |
Executes the query. No resultset is returned.
(Inherited from Database.) |
|
ExecuteReader |
Executes the query in the given IDbCommand
(Inherited from Database.) |
|
ExecuteReader |
Executes the query in the given IDbCommand
(Inherited from Database.) |
|
ExecuteReader |
Executes the query and returns an IDataReader with the result.
(Inherited from Database.) |
|
ExecuteReader |
Executes the query and returns an IDataReader with the result.
(Inherited from Database.) |
|
ExecuteReader |
Executes the query and returns an IDataReader with the result.
(Inherited from Database.) |
|
ExecuteReader |
Executes the query and returns an IDataReader with the result.
(Inherited from Database.) |
|
ExecuteScalar<(Of <<'(T>)>>) |
Executes the query and returns a single value from the query.
(Inherited from Database.) |
|
ExecuteScalar<(Of <<'(T>)>>) |
Executes the query and returns a single value from the query.
(Inherited from Database.) |
|
ExecuteScalar<(Of <<'(T>)>>) |
Executes the query and returns an boolean value from the query.
(Inherited from Database.) |
|
ExecuteScalar<(Of <<'(T>)>>) |
Executes the query and returns a value of type T from the query.
(Inherited from Database.) |
|
ExecuteStoredProcedure |
Executes a stored procedure. The query parameters must be named parameters. The result is a
datatable that contains all the output parameters and their values of the stored procedure.
(Inherited from Database.) |
|
GetCommand |
Creates an IDbCommand instance on a new connection or joins an existing ambient transaction.
(Inherited from Database.) |
|
GetCommand |
Creates an IDbCommand instance on a new connection or joins an existing ambient transaction.
(Inherited from Database.) |
|
GetCommand |
Creates an IDbCommand instance on a new connection or joins an existing ambient transaction and sets the given commandText.
(Inherited from Database.) |
|
GetCommand |
Creates an IDbCommand instance on a new connection or joins an existing ambient transaction.
(Inherited from Database.) |
|
GetCommand |
Creates an IDbCommand instance on a new connection or joins an existing ambient transaction and sets the commandText and parameters.
(Inherited from Database.) |
|
GetHashCode | (Inherited from Object.) | |
GetIdentity | Overloaded. | |
GetParameterName |
Returns a string containing the modified parameterName, matching the SqlServer format.
(Overrides Database..::GetParameterName(String).) |
|
GetType | (Inherited from Object.) | |
NotifyAllTablesChanged |
Notify this Database object that all the tables in the database
have changed. This is useful when an unknown set of tables has been changed or
when someone wants all the caches to be flushed.
(Inherited from Database.) |
|
NotifyTableChanged |
This method is called if someone wishes to notify this Database
instance that a row in a database table has changed. It is important to notify
this Database to keep cached database tables up to date.
(Inherited from Database.) |
|
NotifyTableChanged |
This method is called if someone wishes to notify this Database
instance that a row in a database table has changed. It is important to notify
this Database to keep cached database tables up to date.
(Inherited from Database.) |
|
PreparseQuery | Overloaded. | |
SetIdentityInsertOnOff |
Sets the identity insert on or off.
(Overrides Database..::SetIdentityInsertOnOff(IDbConnection, IDbTransaction, String, Boolean).) |
|
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
CreateConnectionBase | (Overrides Database..::CreateConnectionBase()()()().) | |
CreateMetaXml |
Creates an Xml document containing a description of the database.
(Inherited from Database.) |
|
ExecuteInternal |
Calls the base.ExecuteInteral but add extra error handling.
(Overrides Database..::ExecuteInternal(ExecuteType, IDbCommand, DatabaseExecuteSettings, String, array<Object>[]()[][]).) |
|
Finalize | (Inherited from Object.) | |
GetCachedParsedQuery |
Returns the cached parsed query from cache or null otherwise.
(Inherited from Database.) |
|
GetObjectId | Overloaded. | |
LogExecute |
Log the given IDbCommand object to the logging subsystem.
(Inherited from Database.) |
|
LogExecute |
Log the given IDbCommand object to the logging subsystem.
(Inherited from Database.) |
|
LogExecute |
Log the given IDbCommand object to the logging subsystem.
(Inherited from Database.) |
|
MakeDbNullable<(Of <<'(T>)>>) | (Inherited from Database.) | |
MemberwiseClone | (Inherited from Object.) | |
OnAfterExecuteStoredProcedure |
Execeted after a stored procedure has been executed. This method can be used
to modify the result.
(Inherited from Database.) |
|
OnBeforeExecuteStoredProcedure |
Called before the stored procedure is called. Allows subclasses to modify
the command object.
(Overrides Database..::OnBeforeExecuteStoredProcedure(IDbCommand, DatabaseStoredProcedure).) |
|
PreparseParameterizedQuery |
Modifies a parameterized query to match the syntax of the current database server.
(Inherited from Database.) |
|
PreparseParameterizedQuery |
Modifies a parameterized query to match the syntax of the current database server.
(Inherited from Database.) |
|
SetCachedParsedQuery |
Adds the parsed query to the cache.
(Inherited from Database.) |
|
SplitQueryOnParameters |
Splits a parameterized query on the '?' symbol, ignoring any question marks in strings or comments.
This method can be used by inheritors who must replace the '?' symbol by something else because
their providers need that.
(Inherited from Database.) |
|
SplitSqlStatements |
Splits the sql statement in multiple statements.
(Inherited from Database.) |
See Also
Smartsite.Data Namespace