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

This class is the base repository for the CRUD operations on the VStoreWithDemographics objects.
Inheritance: VStoreWithDemographicsProviderBase
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 ) : VStoreWithDemographics

Convert a nettiers collection to the ws proxy collection.

Convert ( VStoreWithDemographics item ) : WsProxy.VStoreWithDemographics

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.

WsVStoreWithDemographicsProviderBase ( ) : System

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

WsVStoreWithDemographicsProviderBase ( string url ) : System

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

Convert() public static method

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

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

WsVStoreWithDemographicsProviderBase() public method

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

WsVStoreWithDemographicsProviderBase() public method

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