C# Класс Nettiers.AdventureWorks.Data.SqlClient.SqlVStateProvinceCountryRegionProviderBase

This class is the base repository for the CRUD operations on the VStateProvinceCountryRegion objects.
Наследование: VStateProvinceCountryRegionProviderBase
Показать файл Открыть проект

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

Метод Описание
Find ( TransactionManager transactionManager, IFilterParameterCollection parameters, string orderBy, int start, int pageLength, int &count ) : VList

Returns rows from the DataSource that meet the parameter conditions.

Get ( TransactionManager transactionManager, string whereClause, string orderBy, int start, int pageLength, int &count ) : VList

Gets a page of rows from the DataSource.

GetAll ( TransactionManager transactionManager, int start, int pageLength, int &count ) : VList

Gets All rows from the DataSource.

SqlVStateProvinceCountryRegionProviderBase ( string connectionString, bool useStoredProcedure, string providerInvariantName ) : System

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

Защищенные методы

Метод Описание
SqlVStateProvinceCountryRegionProviderBase ( ) : System

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

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

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

Returns rows from the DataSource that meet the parameter conditions.
public Find ( TransactionManager transactionManager, IFilterParameterCollection parameters, string orderBy, int start, int pageLength, int &count ) : VList
transactionManager TransactionManager object
parameters IFilterParameterCollection A collection of objects.
orderBy string Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);
start int Row number at which to start reading.
pageLength int Number of rows to return.
count int out. The number of rows that match this query.
Результат VList

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

Gets a page of rows from the DataSource.
public Get ( TransactionManager transactionManager, string whereClause, string orderBy, int start, int pageLength, int &count ) : VList
transactionManager TransactionManager object
whereClause string Specifies the condition for the rows returned by a query (Name='John Doe', Name='John Doe' AND Id='1', Name='John Doe' OR Id='1').
orderBy string Specifies the sort criteria for the rows in the DataSource (Name ASC; BirthDay DESC, Name ASC);
start int Row number at which to start reading.
pageLength int Number of rows to return.
count int The total number of rows in the data source.
Результат VList

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

Gets All rows from the DataSource.
public GetAll ( TransactionManager transactionManager, int start, int pageLength, int &count ) : VList
transactionManager TransactionManager object.
start int Row number at which to start reading.
pageLength int Number of rows to return.
count int The total number of rows in the data source.
Результат VList

SqlVStateProvinceCountryRegionProviderBase() защищенный Метод

Creates a new SqlVStateProvinceCountryRegionProviderBase instance. Uses connection string to connect to datasource.
protected SqlVStateProvinceCountryRegionProviderBase ( ) : System
Результат System

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

Creates a new SqlVStateProvinceCountryRegionProviderBase instance. Uses connection string to connect to datasource.
public SqlVStateProvinceCountryRegionProviderBase ( 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 stored procedures or embedded queries.
providerInvariantName string Name of the invariant provider use by the DbProviderFactory.
Результат System