C# Class PetShop.Data.Bases.NetTiersProviderBase

The base class to implements to create a .NetTiers provider.
Inheritance: System.Configuration.Provider.ProviderBase, INetTiersProvider
ファイルを表示 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.

Method Details

CreateTransaction() public method

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

ExecuteDataSet() public abstract method

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

ExecuteDataSet() public abstract method

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

ExecuteDataSet() public abstract method

Executes the data set.
public abstract 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 abstract method

Executes the data set.
public abstract 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 abstract method

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

ExecuteDataSet() public abstract method

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

ExecuteNonQuery() public abstract method

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

ExecuteNonQuery() public abstract method

Executes the non query.
public abstract 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 abstract method

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

ExecuteNonQuery() public abstract method

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

ExecuteNonQuery() public abstract method

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

ExecuteNonQuery() public abstract method

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

ExecuteReader() public abstract method

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

ExecuteReader() public abstract method

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

ExecuteReader() public abstract method

Executes the reader.
public abstract 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 abstract method

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

ExecuteReader() public abstract method

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

ExecuteReader() public abstract method

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

ExecuteScalar() public abstract method

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

ExecuteScalar() public abstract method

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

ExecuteScalar() public abstract method

Executes the scalar.
public abstract 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 abstract method

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

ExecuteScalar() public abstract method

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

ExecuteScalar() public abstract method

Executes the scalar.
public abstract 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