Метод | Описание | |
---|---|---|
Read ( Stream stream ) : IEnumerable |
Reads from a stream that contains xml text. Creates the XmlReader that reads the stream and then uses a default IBusinessObjectXmlReader to create the objects from the xml. Any errors that occur when setting properties on objects will be added to the ReadResult property. Once this method returns, check the Successful flag of the ReadResult to see if there are errors, and check the Message flag to see what the errors were.
|
|
Read ( Stream stream, IBusinessObjectXmlReader boReader ) : IEnumerable |
Reads from a stream. Uses the given IBusinessObjectXmlReader to create the objects from the xml. Any errors that occur when setting properties on objects will be added to the ReadResult property. Once this method returns, check the Successful flag of the ReadResult to see if there are errors, and check the Message flag to see what the errors were.
|
|
Read ( XmlReader xmlReader ) : IEnumerable |
Reads from an XmlReader. Uses a default IBusinessObjectXmlReader to create the objects from the xml. Any errors that occur when setting properties on objects will be added to the ReadResult property. Once this method returns, check the Successful flag of the ReadResult to see if there are errors, and check the Message flag to see what the errors were.
|
|
Read ( XmlReader xmlReader, IBusinessObjectXmlReader boReader ) : IEnumerable |
Reads from a stream. Uses the given IBusinessObjectXmlReader to create the objects from the xml. Any errors that occur when setting properties on objects will be added to the ReadResult property. Once this method returns, check the Successful flag of the ReadResult to see if there are errors, and check the Message flag to see what the errors were.
|
|
Read ( string xml ) : IEnumerable |
Reads from a string that contains xml text. Creates the XmlReader that reads the string and then uses a default IBusinessObjectXmlReader to create the objects from the xml. Any errors that occur when setting properties on objects will be added to the ReadResult property. Once this method returns, check the Successful flag of the ReadResult to see if there are errors, and check the Message flag to see what the errors were.
|
Метод | Описание | |
---|---|---|
ConfigureObjectAfterLoad ( IBusinessObject bo ) : IBusinessObject |
Sets up the object after loading. In this case: 1. Tries to load the object from the data store. If it exists: --a. Updates the existing object's properties --b. Returns the existing object 2. Otherwise: --a. Calls the BusinessObject.AfterLoad() method on the object --b. Backs up the property values, setting the persisted values of the properties
|
|
GetSettings ( ) : |
Returns the default XmlReaderSettings used. Override this to change them.
|
Метод | Описание | |
---|---|---|
BuildExceptionMessage ( IEnumerable |
||
ConfigureNewBo ( IBusinessObject bo ) : void | ||
GetExistingBo ( IClassDef classDef, IBusinessObject bo ) : IBusinessObject | ||
TryGetUpdatedExistingBo ( IBusinessObject bo ) : IBusinessObject | ||
UpdateExistingBo ( IBusinessObject bo, IBusinessObject existingBo ) : void |
protected ConfigureObjectAfterLoad ( IBusinessObject bo ) : IBusinessObject | ||
bo | IBusinessObject | The object to configure |
Результат | IBusinessObject |
protected GetSettings ( ) : |
||
Результат |
public Read ( Stream stream ) : IEnumerable |
||
stream | Stream | The stream to read from. This stream must contain xml text |
Результат | IEnumerable |
public Read ( Stream stream, IBusinessObjectXmlReader boReader ) : IEnumerable |
||
stream | Stream | The stream to read the xml from |
boReader | IBusinessObjectXmlReader | The |
Результат | IEnumerable |
public Read ( XmlReader xmlReader ) : IEnumerable |
||
xmlReader | XmlReader | The reader to use |
Результат | IEnumerable |
public Read ( XmlReader xmlReader, IBusinessObjectXmlReader boReader ) : IEnumerable |
||
xmlReader | XmlReader | The xml reader to use |
boReader | IBusinessObjectXmlReader | The |
Результат | IEnumerable |
public Read ( string xml ) : IEnumerable |
||
xml | string | The xml to read |
Результат | IEnumerable |