Prerequisites: A valid Entity
See Also: Retrieving a Rule Application, Creating a RuleSession, Creating Entities
Saving the state to the file system
// Save the state by passing in the path & filename.
Retrieving entity state as object
// get a reference to the object model - provided an object was used to
// create (or load) the entity
Mortgage mortgageObject = mortgageEntity.BoundValue as Mortgage;
Retrieving entity state as XML
// Get the state as XML
string stateXml = mortgageEntity.GetXml();
Please sign in to leave a comment.