C# Class PetShop.Data.SqlClient.SqlInventoryProvider

Inheritance: SqlInventoryProviderBase
Show file Open project: netTiers/netTiers

Public Methods

Method Description
SqlInventoryProvider ( string connectionString, bool useStoredProcedure, string providerInvariantName ) : System

Creates a new SqlInventoryProvider instance. Uses connection string to connect to datasource.

Method Details

SqlInventoryProvider() public method

Creates a new SqlInventoryProvider instance. Uses connection string to connect to datasource.
public SqlInventoryProvider ( string connectionString, bool useStoredProcedure, string providerInvariantName ) : System
connectionString string The connection string to the database.
useStoredProcedure bool A boolean value that indicates if we use the stored procedures or embedded queries.
providerInvariantName string Name of the invariant provider use by the DbProviderFactory.
return System