C# Класс PetShop.Data.Bases.NetTiersProviderBase

The base class to implements to create a .NetTiers provider.
Наследование: System.Configuration.Provider.ProviderBase, INetTiersProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

CreateTransaction() публичный Метод

Creates a new TransactionManager instance from the current datasource.
public CreateTransaction ( ) : TransactionManager
Результат TransactionManager

ExecuteDataSet() публичный абстрактный Метод

Executes the data set.
public abstract ExecuteDataSet ( CommandType commandType, string commandText ) : DataSet
commandType CommandType Type of the command.
commandText string The command text.
Результат System.Data.DataSet

ExecuteDataSet() публичный абстрактный Метод

Executes the data set.
public abstract ExecuteDataSet ( DbCommand commandWrapper ) : DataSet
commandWrapper System.Data.Common.DbCommand The command wrapper.
Результат System.Data.DataSet

ExecuteDataSet() публичный абстрактный Метод

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.
Результат System.Data.DataSet

ExecuteDataSet() публичный абстрактный Метод

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.
Результат System.Data.DataSet

ExecuteDataSet() публичный абстрактный Метод

Executes the data set.
public abstract ExecuteDataSet ( TransactionManager transactionManager, string storedProcedureName ) : DataSet
transactionManager TransactionManager The transaction manager.
storedProcedureName string Name of the stored procedure.
Результат System.Data.DataSet

ExecuteDataSet() публичный абстрактный Метод

Executes the data set.
public abstract ExecuteDataSet ( string storedProcedureName ) : DataSet
storedProcedureName string Name of the stored procedure.
Результат System.Data.DataSet

ExecuteNonQuery() публичный абстрактный Метод

Executes the non query.
public abstract ExecuteNonQuery ( CommandType commandType, string commandText ) : int
commandType CommandType Type of the command.
commandText string The command text.
Результат int

ExecuteNonQuery() публичный абстрактный Метод

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.
Результат int

ExecuteNonQuery() публичный абстрактный Метод

Executes the non query.
public abstract ExecuteNonQuery ( TransactionManager transactionManager, string storedProcedureName ) : int
transactionManager TransactionManager The transaction manager.
storedProcedureName string Name of the stored procedure.
Результат int

ExecuteNonQuery() публичный абстрактный Метод

Executes the non query.
public abstract ExecuteNonQuery ( string storedProcedureName ) : int
storedProcedureName string Name of the stored procedure.
Результат int

ExecuteNonQuery() публичный абстрактный Метод

Executes the non query.
public abstract ExecuteNonQuery ( DbCommand commandWrapper ) : void
commandWrapper System.Data.Common.DbCommand The command wrapper.
Результат void

ExecuteNonQuery() публичный абстрактный Метод

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.
Результат void

ExecuteReader() публичный абстрактный Метод

Executes the reader.
public abstract ExecuteReader ( CommandType commandType, string commandText ) : IDataReader
commandType CommandType Type of the command.
commandText string The command text.
Результат IDataReader

ExecuteReader() публичный абстрактный Метод

Executes the reader.
public abstract ExecuteReader ( DbCommand commandWrapper ) : IDataReader
commandWrapper System.Data.Common.DbCommand The command wrapper.
Результат IDataReader

ExecuteReader() публичный абстрактный Метод

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.
Результат IDataReader

ExecuteReader() публичный абстрактный Метод

Executes the reader.
public abstract ExecuteReader ( TransactionManager transactionManager, DbCommand commandWrapper ) : IDataReader
transactionManager TransactionManager The transaction manager.
commandWrapper System.Data.Common.DbCommand The command wrapper.
Результат IDataReader

ExecuteReader() публичный абстрактный Метод

Executes the reader.
public abstract ExecuteReader ( TransactionManager transactionManager, string storedProcedureName ) : IDataReader
transactionManager TransactionManager The transaction manager.
storedProcedureName string Name of the stored procedure.
Результат IDataReader

ExecuteReader() публичный абстрактный Метод

Executes the reader.
public abstract ExecuteReader ( string storedProcedureName ) : IDataReader
storedProcedureName string Name of the stored procedure.
Результат IDataReader

ExecuteScalar() публичный абстрактный Метод

Executes the scalar.
public abstract ExecuteScalar ( CommandType commandType, string commandText ) : object
commandType CommandType Type of the command.
commandText string The command text.
Результат object

ExecuteScalar() публичный абстрактный Метод

Executes the scalar.
public abstract ExecuteScalar ( DbCommand commandWrapper ) : object
commandWrapper System.Data.Common.DbCommand The command wrapper.
Результат object

ExecuteScalar() публичный абстрактный Метод

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.
Результат object

ExecuteScalar() публичный абстрактный Метод

Executes the scalar.
public abstract ExecuteScalar ( TransactionManager transactionManager, DbCommand commandWrapper ) : object
transactionManager TransactionManager The transaction manager.
commandWrapper System.Data.Common.DbCommand The command wrapper.
Результат object

ExecuteScalar() публичный абстрактный Метод

Executes the scalar.
public abstract ExecuteScalar ( TransactionManager transactionManager, string storedProcedureName ) : object
transactionManager TransactionManager The transaction manager.
storedProcedureName string Name of the stored procedure.
Результат object

ExecuteScalar() публичный абстрактный Метод

Executes the scalar.
public abstract ExecuteScalar ( string storedProcedureName ) : object
storedProcedureName string Name of the stored procedure.
Результат object

Initialize() публичный Метод

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.
Результат void