C# Class NSoft.NFramework.XmlData.Messages.XdsRequestDocument

Inheritance: XdsDocumentBase
Mostra file Open project: debop/NFramework Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddMethod ( string method ) : int

Add method name to execute

AddMethod ( string method, XmlDataResponseKind responseKind ) : int

Add method name to execute

AddMethod ( string method, XmlDataResponseKind responseKind, int pageSize, int pageNo ) : int

Add method name to execute

AddQuery ( string query ) : int

Add simple query string to execute.

AddQuery ( string query, XmlDataResponseKind responseKind ) : int

Add simple query string to execute with response type.

AddQuery ( string query, XmlDataResponseKind responseKind, int pageSize, int pageNo ) : int

Add simple query string to execute with response type and paging

AddStoredProc ( string spName ) : int

Add procedure to execute

AddStoredProc ( string spName, XmlDataResponseKind responseKind ) : int

Add procedure to execute with XmlDataResponseKind

AddStoredProc ( string spName, XmlDataResponseKind responseKind, int pageSize, int pageNo ) : int

Add procedure to execute with XmlDataResponseKind and paging

Load ( string xml ) : XdsRequestDocument

Create a new instance of XdsRequestDocument from the specified xml string.

LoadFromFile ( string filename ) : XdsRequestDocument

Create a new instance of XdsRequestDocument from the specified file.

XdsRequestDocument ( ) : System

Initialize a new instance of XdsRequestDocument.

this ( int index ) : XdsRequestItem

Indexer

Method Details

AddMethod() public method

Add method name to execute
public AddMethod ( string method ) : int
method string method name
return int

AddMethod() public method

Add method name to execute
public AddMethod ( string method, XmlDataResponseKind responseKind ) : int
method string method name
responseKind XmlDataResponseKind response type
return int

AddMethod() public method

Add method name to execute
public AddMethod ( string method, XmlDataResponseKind responseKind, int pageSize, int pageNo ) : int
method string method name
responseKind XmlDataResponseKind response type
pageSize int page size
pageNo int page number (start from 1)
return int

AddQuery() public method

Add simple query string to execute.
public AddQuery ( string query ) : int
query string simple query string
return int

AddQuery() public method

Add simple query string to execute with response type.
public AddQuery ( string query, XmlDataResponseKind responseKind ) : int
query string simple query string
responseKind XmlDataResponseKind response type
return int

AddQuery() public method

Add simple query string to execute with response type and paging
public AddQuery ( string query, XmlDataResponseKind responseKind, int pageSize, int pageNo ) : int
query string simple query string
responseKind XmlDataResponseKind response type
pageSize int page size
pageNo int page number (start from 1)
return int

AddStoredProc() public method

Add procedure to execute
public AddStoredProc ( string spName ) : int
spName string procedure name
return int

AddStoredProc() public method

Add procedure to execute with XmlDataResponseKind
public AddStoredProc ( string spName, XmlDataResponseKind responseKind ) : int
spName string procedure name
responseKind XmlDataResponseKind response type
return int

AddStoredProc() public method

Add procedure to execute with XmlDataResponseKind and paging
public AddStoredProc ( string spName, XmlDataResponseKind responseKind, int pageSize, int pageNo ) : int
spName string procedure name
responseKind XmlDataResponseKind response type
pageSize int page size
pageNo int page number (start from 1)
return int

Load() public static method

Create a new instance of XdsRequestDocument from the specified xml string.
public static Load ( string xml ) : XdsRequestDocument
xml string xml string
return XdsRequestDocument

LoadFromFile() public static method

Create a new instance of XdsRequestDocument from the specified file.
public static LoadFromFile ( string filename ) : XdsRequestDocument
filename string full file path
return XdsRequestDocument

XdsRequestDocument() public method

Initialize a new instance of XdsRequestDocument.
public XdsRequestDocument ( ) : System
return System

this() public method

Indexer
public this ( int index ) : XdsRequestItem
index int
return XdsRequestItem