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

This class represents a property of an document
显示文件 Open project: Sage/SData-Contracts

Public Methods

Method Description
AddDefaultResourceElements ( XmlElement root ) : void
GetSchemaElement ( XmlDocument doc ) : XmlSchemaElement

Returns a xml schema element wich defines the property

GetXMLValue ( ) : string
Property ( string propName, TypeCode propTypecode, Document propParent ) : System

Constructor. The method initializes the class.

Property ( string propName, TypeCode propTypecode, int propMaxLength, Document propParent ) : System

Constructor. The method initializes the class.

setXMLValue ( string value ) : void

Private Methods

Method Description
InitProperty ( string propName, TypeCode propTypecode, Document propParent ) : void

Method Details

AddDefaultResourceElements() public method

public AddDefaultResourceElements ( XmlElement root ) : void
root System.Xml.XmlElement
return void

GetSchemaElement() public method

Returns a xml schema element wich defines the property
public GetSchemaElement ( XmlDocument doc ) : XmlSchemaElement
doc System.Xml.XmlDocument
return System.Xml.Schema.XmlSchemaElement

GetXMLValue() public method

public GetXMLValue ( ) : string
return string

Property() public method

Constructor. The method initializes the class.
public Property ( string propName, TypeCode propTypecode, Document propParent ) : System
propName string the Name Of the Property
propTypecode TypeCode the typecode of the value
propParent Document the parent document
return System

Property() public method

Constructor. The method initializes the class.
public Property ( string propName, TypeCode propTypecode, int propMaxLength, Document propParent ) : System
propName string the Name Of the Property
propTypecode TypeCode the typecode of the value
propMaxLength int the maxlength of an string value
propParent Document the parent document
return System

setXMLValue() public method

public setXMLValue ( string value ) : void
value string
return void