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

This class is the base repository for the CRUD operations on the VSalesPerson objects.
Inheritance: VSalesPersonProviderBase
Mostra file 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 ) : VSalesPerson

Convert a nettiers collection to the ws proxy collection.

Convert ( VSalesPerson item ) : WsProxy.VSalesPerson

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.

WsVSalesPersonProviderBase ( ) : System

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

WsVSalesPersonProviderBase ( string url ) : System

Creates a new WsVSalesPersonProviderBase 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 ) : VSalesPerson
item WsProxy
return Nettiers.AdventureWorks.Entities.VSalesPerson

Convert() public static method

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

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

WsVSalesPersonProviderBase() public method

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

WsVSalesPersonProviderBase() public method

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