C# Class Nettiers.AdventureWorks.Data.WebServiceClient.WsVProductAndDescriptionProviderBase

This class is the base repository for the CRUD operations on the VProductAndDescription objects.
Inheritance: VProductAndDescriptionProviderBase
Exibir arquivo Open project: netTiers/netTiers

Public Methods

Method Description
Convert ( WsProxy items ) : VList

Convert a collection from the ws proxy to a nettiers collection.

Convert ( WsProxy item ) : VProductAndDescription

Convert a nettiers collection to the ws proxy collection.

Convert ( VProductAndDescription item ) : WsProxy.VProductAndDescription

Convert a nettiers entity to the ws proxy entity.

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

Gets a page of rows from the DataSource.

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

Gets All rows from the DataSource by a specific predicate filter.

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

Gets All rows from the DataSource a specific predicate filter.

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

Gets All rows from the DataSource.

WsVProductAndDescriptionProviderBase ( ) : System

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

WsVProductAndDescriptionProviderBase ( string url ) : System

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

Method Details

Convert() public static method

Convert a collection from the ws proxy to a nettiers collection.
public static Convert ( WsProxy items ) : VList
items WsProxy
return VList

Convert() public static method

Convert a nettiers collection to the ws proxy collection.
public static Convert ( WsProxy item ) : VProductAndDescription
item WsProxy
return Nettiers.AdventureWorks.Entities.VProductAndDescription

Convert() public static method

Convert a nettiers entity to the ws proxy entity.
public static Convert ( VProductAndDescription item ) : WsProxy.VProductAndDescription
item Nettiers.AdventureWorks.Entities.VProductAndDescription
return WsProxy.VProductAndDescription

Get() public method

Gets a page of rows from the DataSource.
public Get ( TransactionManager transactionManager, string whereClause, string orderBy, int start, int pageLength ) : 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.
return VList

Get() public method

Gets All rows from the DataSource by a specific predicate filter.
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 Number of total rows.
return VList

GetAll() public method

Gets All rows from the DataSource a specific predicate filter.
public GetAll ( TransactionManager transactionManager, int start, int pageLength ) : VList
transactionManager TransactionManager object
start int Row number at which to start reading.
pageLength int Number of rows to return.
return VList

GetAll() public method

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 count of records returned
return VList

WsVProductAndDescriptionProviderBase() public method

Creates a new WsVProductAndDescriptionProviderBase instance. Uses connection string to connect to datasource.
public WsVProductAndDescriptionProviderBase ( ) : System
return System

WsVProductAndDescriptionProviderBase() public method

Creates a new WsVProductAndDescriptionProviderBase instance. Uses connection string to connect to datasource.
public WsVProductAndDescriptionProviderBase ( string url ) : System
url string The url to the webservice.
return System