• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class DatabaseConnectionProvider

Inheritance
System.Object
DatabaseConnectionProvider
SqlDatabaseConnectionProvider
Namespace: DotNetNuke.Data
Assembly: DotNetNuke.dll
Syntax
public abstract class DatabaseConnectionProvider : object

Methods

| Improve this Doc View Source

BulkInsert(String, Int32, String, String, DataTable, Dictionary<String, Object>)

Declaration
public abstract void BulkInsert(string connectionString, int commandTimeout, string procedureName, string tableParameterName, DataTable dataTable, Dictionary<string, object> commandParameters)
Parameters
Type Name Description
System.String connectionString
System.Int32 commandTimeout
System.String procedureName
System.String tableParameterName
DataTable dataTable
Dictionary<System.String, System.Object> commandParameters
| Improve this Doc View Source

BulkInsert(String, Int32, String, String, DataTable)

Declaration
public abstract void BulkInsert(string connectionString, int commandTimeout, string procedureName, string tableParameterName, DataTable dataTable)
Parameters
Type Name Description
System.String connectionString
System.Int32 commandTimeout
System.String procedureName
System.String tableParameterName
DataTable dataTable
| Improve this Doc View Source

ExecuteNonQuery(String, CommandType, Int32, String, Object[])

Declaration
public abstract void ExecuteNonQuery(string connectionString, CommandType commandType, int commandTimeout, string procedure, object[] commandParameters)
Parameters
Type Name Description
System.String connectionString
CommandType commandType
System.Int32 commandTimeout
System.String procedure
System.Object[] commandParameters
| Improve this Doc View Source

ExecuteNonQuery(String, CommandType, Int32, String)

Declaration
public abstract int ExecuteNonQuery(string connectionString, CommandType commandType, int commandTimeout, string query)
Parameters
Type Name Description
System.String connectionString
CommandType commandType
System.Int32 commandTimeout
System.String query
Returns
Type Description
System.Int32
| Improve this Doc View Source

ExecuteReader(String, CommandType, Int32, String, Object[])

Declaration
public abstract IDataReader ExecuteReader(string connectionString, CommandType commandType, int commandTimeout, string procedureName, params object[] commandParameters)
Parameters
Type Name Description
System.String connectionString
CommandType commandType
System.Int32 commandTimeout
System.String procedureName
System.Object[] commandParameters
Returns
Type Description
IDataReader
| Improve this Doc View Source

ExecuteScalar<T>(String, CommandType, Int32, String, Object[])

Declaration
public abstract T ExecuteScalar<T>(string connectionString, CommandType commandType, int commandTimeout, string procedureName, params object[] commandParameters)
Parameters
Type Name Description
System.String connectionString
CommandType commandType
System.Int32 commandTimeout
System.String procedureName
System.Object[] commandParameters
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

ExecuteSql(String, CommandType, Int32, String)

Declaration
public abstract IDataReader ExecuteSql(string connectionString, CommandType commandType, int commandTimeout, string query)
Parameters
Type Name Description
System.String connectionString
CommandType commandType
System.Int32 commandTimeout
System.String query
Returns
Type Description
IDataReader
| Improve this Doc View Source

Instance()

Declaration
public static DatabaseConnectionProvider Instance()
Returns
Type Description
DatabaseConnectionProvider

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS