C# Class Nettiers.AdventureWorks.Data.SqlClient.SqlNetTiersProvider

This class is the Sql implementation of the NetTiersProvider.
Inheritance: Nettiers.AdventureWorks.Data.Bases.NetTiersProvider
Mostra file Open project: netTiers/netTiers

Public Methods

Method Description
CreateTransaction ( ) : TransactionManager

Creates a new TransactionManager instance from the current datasource.

ExecuteDataSet ( CommandType commandType, string commandText ) : DataSet

Executes the data set.

ExecuteDataSet ( DbCommand commandWrapper ) : DataSet

Executes the data set.

ExecuteDataSet ( TransactionManager transactionManager, CommandType commandType, string commandText ) : DataSet

Executes the data set.

ExecuteDataSet ( TransactionManager transactionManager, DbCommand commandWrapper ) : DataSet

Executes the data set.

ExecuteDataSet ( TransactionManager transactionManager, string storedProcedureName ) : DataSet

Executes the data set.

ExecuteDataSet ( string storedProcedureName ) : DataSet

Executes the data set.

ExecuteNonQuery ( CommandType commandType, string commandText ) : int

Executes the non query.

ExecuteNonQuery ( TransactionManager transactionManager, CommandType commandType, string commandText ) : int

Executes the non query.

ExecuteNonQuery ( TransactionManager transactionManager, string storedProcedureName ) : int

Executes the non query.

ExecuteNonQuery ( string storedProcedureName ) : int

Executes the non query.

ExecuteNonQuery ( DbCommand commandWrapper ) : void

Executes the non query.

ExecuteNonQuery ( TransactionManager transactionManager, DbCommand commandWrapper ) : void

Executes the non query.

ExecuteReader ( CommandType commandType, string commandText ) : IDataReader

Executes the reader.

ExecuteReader ( DbCommand commandWrapper ) : IDataReader

Executes the reader.

ExecuteReader ( TransactionManager transactionManager, CommandType commandType, string commandText ) : IDataReader

Executes the reader.

ExecuteReader ( TransactionManager transactionManager, DbCommand commandWrapper ) : IDataReader

Executes the reader.

ExecuteReader ( TransactionManager transactionManager, string storedProcedureName ) : IDataReader

Executes the reader.

ExecuteReader ( string storedProcedureName ) : IDataReader

Executes the reader.

ExecuteScalar ( CommandType commandType, string commandText ) : object

Executes the scalar.

ExecuteScalar ( DbCommand commandWrapper ) : object

Executes the scalar.

ExecuteScalar ( TransactionManager transactionManager, CommandType commandType, string commandText ) : object

Executes the scalar.

ExecuteScalar ( TransactionManager transactionManager, DbCommand commandWrapper ) : object

Executes the scalar.

ExecuteScalar ( TransactionManager transactionManager, string storedProcedureName ) : object

Executes the scalar.

ExecuteScalar ( string storedProcedureName ) : object

Executes the scalar.

Initialize ( string name, NameValueCollection config ) : void

Initializes the provider.

SqlNetTiersProvider ( ) : System

Initializes a new instance of the SqlNetTiersProvider class.

Method Details

CreateTransaction() public method

Creates a new TransactionManager instance from the current datasource.
public CreateTransaction ( ) : TransactionManager
return TransactionManager

ExecuteDataSet() public method

Executes the data set.
public ExecuteDataSet ( CommandType commandType, string commandText ) : DataSet
commandType CommandType Type of the command.
commandText string The command text.
return System.Data.DataSet

ExecuteDataSet() public method

Executes the data set.
public ExecuteDataSet ( DbCommand commandWrapper ) : DataSet
commandWrapper System.Data.Common.DbCommand The command wrapper.
return System.Data.DataSet

ExecuteDataSet() public method

Executes the data set.
public ExecuteDataSet ( TransactionManager transactionManager, CommandType commandType, string commandText ) : DataSet
transactionManager TransactionManager The transaction manager.
commandType CommandType Type of the command.
commandText string The command text.
return System.Data.DataSet

ExecuteDataSet() public method

Executes the data set.
public ExecuteDataSet ( TransactionManager transactionManager, DbCommand commandWrapper ) : DataSet
transactionManager TransactionManager The transaction manager.
commandWrapper System.Data.Common.DbCommand The command wrapper.
return System.Data.DataSet

ExecuteDataSet() public method

Executes the data set.
public ExecuteDataSet ( TransactionManager transactionManager, string storedProcedureName ) : DataSet
transactionManager TransactionManager The transaction manager.
storedProcedureName string Name of the stored procedure.
return System.Data.DataSet

ExecuteDataSet() public method

Executes the data set.
public ExecuteDataSet ( string storedProcedureName ) : DataSet
storedProcedureName string Name of the stored procedure.
return System.Data.DataSet

ExecuteNonQuery() public method

Executes the non query.
public ExecuteNonQuery ( CommandType commandType, string commandText ) : int
commandType CommandType Type of the command.
commandText string The command text.
return int

ExecuteNonQuery() public method

Executes the non query.
public ExecuteNonQuery ( TransactionManager transactionManager, CommandType commandType, string commandText ) : int
transactionManager TransactionManager The transaction manager.
commandType CommandType Type of the command.
commandText string The command text.
return int

ExecuteNonQuery() public method

Executes the non query.
public ExecuteNonQuery ( TransactionManager transactionManager, string storedProcedureName ) : int
transactionManager TransactionManager The transaction manager.
storedProcedureName string Name of the stored procedure.
return int

ExecuteNonQuery() public method

Executes the non query.
public ExecuteNonQuery ( string storedProcedureName ) : int
storedProcedureName string Name of the stored procedure.
return int

ExecuteNonQuery() public method

Executes the non query.
public ExecuteNonQuery ( DbCommand commandWrapper ) : void
commandWrapper System.Data.Common.DbCommand The command wrapper.
return void

ExecuteNonQuery() public method

Executes the non query.
public ExecuteNonQuery ( TransactionManager transactionManager, DbCommand commandWrapper ) : void
transactionManager TransactionManager The transaction manager.
commandWrapper System.Data.Common.DbCommand The command wrapper.
return void

ExecuteReader() public method

Executes the reader.
public ExecuteReader ( CommandType commandType, string commandText ) : IDataReader
commandType CommandType Type of the command.
commandText string The command text.
return IDataReader

ExecuteReader() public method

Executes the reader.
public ExecuteReader ( DbCommand commandWrapper ) : IDataReader
commandWrapper System.Data.Common.DbCommand The command wrapper.
return IDataReader

ExecuteReader() public method

Executes the reader.
public ExecuteReader ( TransactionManager transactionManager, CommandType commandType, string commandText ) : IDataReader
transactionManager TransactionManager The transaction manager.
commandType CommandType Type of the command.
commandText string The command text.
return IDataReader

ExecuteReader() public method

Executes the reader.
public ExecuteReader ( TransactionManager transactionManager, DbCommand commandWrapper ) : IDataReader
transactionManager TransactionManager The transaction manager.
commandWrapper System.Data.Common.DbCommand The command wrapper.
return IDataReader

ExecuteReader() public method

Executes the reader.
public ExecuteReader ( TransactionManager transactionManager, string storedProcedureName ) : IDataReader
transactionManager TransactionManager The transaction manager.
storedProcedureName string Name of the stored procedure.
return IDataReader

ExecuteReader() public method

Executes the reader.
public ExecuteReader ( string storedProcedureName ) : IDataReader
storedProcedureName string Name of the stored procedure.
return IDataReader

ExecuteScalar() public method

Executes the scalar.
public ExecuteScalar ( CommandType commandType, string commandText ) : object
commandType CommandType Type of the command.
commandText string The command text.
return object

ExecuteScalar() public method

Executes the scalar.
public ExecuteScalar ( DbCommand commandWrapper ) : object
commandWrapper System.Data.Common.DbCommand The command wrapper.
return object

ExecuteScalar() public method

Executes the scalar.
public ExecuteScalar ( TransactionManager transactionManager, CommandType commandType, string commandText ) : object
transactionManager TransactionManager The transaction manager.
commandType CommandType Type of the command.
commandText string The command text.
return object

ExecuteScalar() public method

Executes the scalar.
public ExecuteScalar ( TransactionManager transactionManager, DbCommand commandWrapper ) : object
transactionManager TransactionManager The transaction manager.
commandWrapper System.Data.Common.DbCommand The command wrapper.
return object

ExecuteScalar() public method

Executes the scalar.
public ExecuteScalar ( TransactionManager transactionManager, string storedProcedureName ) : object
transactionManager TransactionManager The transaction manager.
storedProcedureName string Name of the stored procedure.
return object

ExecuteScalar() public method

Executes the scalar.
public ExecuteScalar ( string storedProcedureName ) : object
storedProcedureName string Name of the stored procedure.
return object

Initialize() public method

Initializes the provider.
The name of the provider is null. An attempt is made to call on a provider after the provider has already been initialized. The name of the provider has a length of zero.
public Initialize ( string name, NameValueCollection config ) : void
name string The friendly name of the provider.
config System.Collections.Specialized.NameValueCollection A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.
return void

SqlNetTiersProvider() public method

Initializes a new instance of the SqlNetTiersProvider class.
public SqlNetTiersProvider ( ) : System
return System