C# Class Sage.Integration.Northwind.Application.Base.DocumentCollection

DocumentCollection class
Inheritance: IEnumerable
显示文件 Open project: Sage/SData-Contracts Class Usage Examples

Public Properties

Property Type Description
documents List

Protected Properties

Property Type Description
name string

Public Methods

Method Description
Add ( Document document ) : void
GetDocumentTemplate ( ) : Document
GetEnumerator ( ) : IEnumerator

GetEnumerator

GetSchemaElement ( ) : XmlSchemaElement
GetTransactionResult ( List &result ) : void
GetXmlNode ( XmlDocument document ) : XmlNode
Merge ( DocumentCollection sourceCollection ) : void
ReadElement ( XmlNode parentNode ) : void

Protected Methods

Method Description
DocumentCollection ( string name ) : System

constructor of an document Collection

Method Details

Add() public method

public Add ( Document document ) : void
document Document
return void

DocumentCollection() protected method

constructor of an document Collection
protected DocumentCollection ( string name ) : System
name string the name of the document collection
return System

GetDocumentTemplate() public abstract method

public abstract GetDocumentTemplate ( ) : Document
return Document

GetEnumerator() public method

GetEnumerator
public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetSchemaElement() public method

public GetSchemaElement ( ) : XmlSchemaElement
return System.Xml.Schema.XmlSchemaElement

GetTransactionResult() public method

public GetTransactionResult ( List &result ) : void
result List
return void

GetXmlNode() public method

public GetXmlNode ( XmlDocument document ) : XmlNode
document System.Xml.XmlDocument
return System.Xml.XmlNode

Merge() public method

public Merge ( DocumentCollection sourceCollection ) : void
sourceCollection DocumentCollection
return void

ReadElement() public method

public ReadElement ( XmlNode parentNode ) : void
parentNode System.Xml.XmlNode
return void

Property Details

documents public_oe property

public List documents
return List

name protected_oe property

the name of the document collection
protected string name
return string