[]
The BasePersistableObject is a base class for persistable objects.
public class BasePersistableObject : INotifyPropertyChanged
Name | Description |
---|---|
BasePersistableObject() | Creates new BasePersistableObject object. |
BasePersistableObject(SerializationInfo, StreamingContext) | Special constructor for deserialization. |
Name | Description |
---|---|
Id | Gets the unique id used for serialization purposes. |
IsEdit | Indicates whether the object is in edit mode, which is started using the BeginEdit() method. |
Key | Gets an array of objects representing the key of the BasePersistableObject. |
Name | Description |
---|---|
BeginEdit() | Brings the object in edit mode. |
BeginEditInternal() | |
CancelEdit() | Discards changes since the last BeginEdit() call. |
EndEdit() | Finishes edit mode started by the BeginEdit() method and updates a corresponding data source item. |
EndEdit(bool) | |
FromXml(Stream) | Loads an object from the specified Stream. |
FromXml(XmlNode) | Loads an object from the specified System.Xml.XmlNode. |
FromXml(XmlReader) | Loads an object from the specified System.Xml.XmlReader. |
GetObjectData(SerializationInfo, StreamingContext) | A method called when serializing. |
OnPropertyChanged(string) | Fires property change notification. |
ToXml(Stream) | Saves an object to the specified Stream. |
ToXml(XmlWriter) | Saves an object to the specified System.Xml.XmlWriter. |