[]
        
(Showing Draft Content)

C1.Schedule.BasePersistableObject

BasePersistableObject Class

The BasePersistableObject is a base class for persistable objects.

Inheritance
BasePersistableObject
Namespace: C1.Schedule
Assembly: C1.ScheduleCore.dll
Syntax
public class BasePersistableObject : INotifyPropertyChanged

Constructors

Name Description
BasePersistableObject()

Creates new BasePersistableObject object.

BasePersistableObject(SerializationInfo, StreamingContext)

Special constructor for deserialization.

Properties

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.

Methods

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.