📄 opf.xml
字号:
</summary>
<param name="PersistentFlags">Set a PersistentFlags such as Load, Write etc to change the
behaviour of this class.</param>
</member>
<member name="M:OPF.Persistent.#ctor(OPF.PersistentFlags,System.String)">
<summary>
Constructor. Calls the base constructor and generates a definition for the
dynamic properties. More dynamic properties can be added or removeed anytime
Also sets the persistent flags.
</summary>
<param name="PersistentFlags">Set a PersistentFlags such as Load, Write etc to change the
behaviour of this class.</param>
<param name="XmlDefinition">String that describes the dynamic properties and types.</param>
</member>
<member name="M:OPF.Persistent.#ctor(System.String)">
<summary>
Constructor. Calls the base constructor and generates a definition for the
dynamic properties. Dynamic properties can be added or removed anytime
</summary>
<param name="XmlDefinition">String that describes the dynamic properties and types.</param>
</member>
<member name="M:OPF.Persistent.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary>
Constructor required for deserialization.
</summary>
<param name="SerialInfo">Contains the data to serialize and deserialize the object.</param>
<param name="StreamContext">Contains the information about the source or target of the
serialization process.</param>
</member>
<member name="M:OPF.Persistent.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
<summary>
Serializes the current object.
</summary>
<param name="SerialInfo">Contains the data to serialize and deserialize the object.</param>
<param name="StreamContext">Contains the information about the source or target of the
serialization process.</param>
</member>
<member name="M:OPF.Persistent.CheckSupportedAction(OPF.PersistentFlags)">
<summary>
Throws an exception if the functionality to check has been disabled by a flag set in the constructor.
</summary>
<param name="PersistentFlags">The PersistentFlags enumeration to check.</param>
</member>
<member name="M:OPF.Persistent.Load(OPF.ID)">
<summary>
Loads an object, with a certain ID from the storage.
</summary>
<param name="OPFObjectID">ID of the object that should be loaded.</param>
</member>
<member name="M:OPF.Persistent.Load">
<summary>
Load or reloads an object where the ID is already set.
</summary>
</member>
<member name="M:OPF.Persistent.ReLoad">
<summary>
Reloads the current object.
</summary>
</member>
<member name="M:OPF.Persistent.SaveWithNewID">
<summary>
Saves the object assigning a new ID. Internally sets a local variable (to inform Save()
that it was called by this method) to true and calls Save().
</summary>
</member>
<member name="M:OPF.Persistent.SaveWithNewID(OPF.ID)">
<summary>
Saves the object with the given ID.
</summary>
<param name="OPFObjectID">ID of the object to be assigned. If OPFObjectIT is the ID.NullIDValuea new ID
will be generated automatically.</param>
</member>
<member name="M:OPF.Persistent.Save">
<summary>
Save the persistent object to the storage. If the objects ID is set then the object is updated in the
storage, else a new ID is generated and a new object is saved the object to the storage.
</summary>
</member>
<member name="M:OPF.Persistent.Delete">
<summary>
Deletes the object from storage.
</summary>
</member>
<member name="M:OPF.Persistent.IsChanged">
<summary>
Checks if the object is changed since the last save or load.
</summary>
</member>
<member name="M:OPF.Persistent.IsChanged(System.Int64@)">
<summary>
Checks if the object is changed since the last save or load.
</summary>
<param name="CalculatedCRC">Holds the new CRC for the object, that has been created while
checking if the object has changed.</param>
</member>
<member name="M:OPF.Persistent.EqualsByID(OPF.BaseObject)">
<summary>
Compares the current object with another object by comparing only the ID's (very fast).
</summary>
<param name="OtherPersistentObject">Other object to compare with.</param>
</member>
<member name="M:OPF.Persistent.Equals(System.Object)">
<summary>
Compares the current object with another object property by property. Use the custom attribute
[DoNotCompare] to exclude a property from the comparison.
</summary>
<param name="OtherPersistent">Other object to compare with.</param>
<returns>Gives back true, if the two objects have the same type, same fields and all fields
have the same content.</returns>
</member>
<member name="M:OPF.Persistent.IsSameInStorage(OPF.Persistent)">
<summary>
Checks if two objects are totally identically. If one of the objects has an ID which
is a nullstring then this function will return false.
</summary>
<param name="OtherPersistentObject">Other object.</param>
</member>
<member name="M:OPF.Persistent.GetHashCode">
<summary>
Returns the hashcode. Has to be overwritten for assign.
</summary>
</member>
<member name="M:OPF.Persistent.Assign(OPF.BaseObject)">
<summary>
Assigns all fields of the current persistent object to another persistent object.
</summary>
<param name="OtherObject">Other object to be assigned to this object.</param>
</member>
<member name="M:OPF.Persistent.DeepAssign(OPF.Persistent)">
<summary>
Assigns all fields of the current persistent object to another persistent object. Also assigns
the nested objects and collecions of the first nesting level. Does not assign beyond the first nesting level.
</summary>
<param name="OtherPersistent">Other persistent object</param>
</member>
<member name="M:OPF.Persistent.RegisterNestedPersistent(System.String,OPF.Persistent,System.String,OPF.RelationDirection)">
<summary>
Registers a persistent as nested persistent.
</summary>
<param name="Name">Identifier of the nested persistent. Must be unique.</param>
<param name="Persistent">Persistent to add.</param>
<param name="ForeignKeyProperty">The property that holds the foreign key. Means that that property
must be the same as the ID of this persistent object.</param>
<param name="RelationDirection">Direction of the relation between the object and the nested object.</param>
</member>
<member name="M:OPF.Persistent.RegisterNestedPersistent(System.String,OPF.Persistent,OPF.RelationDirection)">
<summary>
Registers a persistent as nested persistent.
</summary>
<param name="Name">Identifier of the nested persistent. Must be unique.</param>
<param name="Persistent">Persistent to add.</param>
<param name="RelationDirection">Direction of the relation between the object and the nested object.</param>
</member>
<member name="M:OPF.Persistent.RegisterNestedCollection(System.String,OPF.Collections.Collection,System.String)">
<summary>
Registers a collection as nested collection.
</summary>
<param name="Name">Identifier of the nested collection. Must be unique.</param>
<param name="Collection">Collection to add.</param>
<param name="ForeignKeyProperty">The property that holds the foreing key. Means that that property
must be the same as the ID of the persistent object.</param>
</member>
<member name="M:OPF.Persistent.RegisterNestedCollection(System.String,OPF.Collections.Collection)">
<summary>
Registers a collection as nested collection.
</summary>
<param name="Name">Identifier of the nested collection. Must be unique.</param>
<param name="Collection">Collection to add.</param>
</member>
<member name="M:OPF.Persistent.UnRegisterNestedPersistent(System.String)">
<summary>
Removes a persistent as nested persistent.
</summary>
<param name="Name">Name of the nested persistent.</param>
</member>
<member name="M:OPF.Persistent.UnRegisterNestedCollection(System.String)">
<summary>
Removes a collection as nested collection.
</summary>
<param name="Name">Name of the nested collection.</param>
</member>
<member name="M:OPF.Persistent.GetNestedPersistent(System.String)">
<summary>
Returns the nested persistent matching the name.
</summary>
<param name="Name">Identifier of the nested persistent. Must be unique.</param>
</member>
<member name="M:OPF.Persistent.GetNestedCollection(System.String)">
<summary>
Returns the nested collection matching the name.
</summary>
<param name="Name">Identifier of the nested collection. Must be unique.</param>
</member>
<member name="M:OPF.Persistent.IsLoaded">
<summary>
Returns if the object is loaded or not.
</summary>
</member>
<member name="M:OPF.Persistent.AddDynamicPropertiesAndTypes(System.String)">
<summary>
Adds one or more definitions for dynamic properties.
</summary>
<param name="XmlDefinition">String (Xml) that contains the definitions.</param>
</member>
<member name="M:OPF.Persistent.AddDynamicProperty(System.String,OPF.SupportedTypes)">
<summary>
Adds a new dynamic property to the properties of the persistent.
</summary>
<param name="PropertyName">Name of the property.</param>
<param name="PropertyType">Type of the property.</param>
</member>
<member name="M:OPF.Persistent.AddDynamicProperty(System.String,OPF.SupportedTypes,System.Boolean)">
<summary>
Adds a new dynamic property to the properties of the persistent.
</summary>
<param name="PropertyName">Name of the property.</param>
<param name="PropertyType">Type of the property.</param>
<param name="Mandatory">If true the property is check while check constraints.</param>
</member>
<member name="M:OPF.Persistent.AddDynamicProperty(System.String,System.Object,OPF.SupportedTypes)">
<summary>
Adds a new dynamic property to the properties of the persistent.
</summary>
<param name="PropertyName">Name of the property.</param>
<param name="Value">Value of the property.</param>
<param name="PropertyType">Type of the property.</param>
</member>
<member name="M:OPF.Persistent.AddDynamicProperty(System.String,System.Object,OPF.SupportedTypes,System.Boolean)">
<summary>
Adds a new dynamic property to the properties of the persistent.
</summary>
<param name="PropertyName">Name of the property.</param>
<param name="Value">Value of the property.</param>
<param name="PropertyType">Type of the property.</param>
<param name="Mandatory">If true, the property is checked during check constraints.</param>
</member>
<member name="M:OPF.Persistent.AddDynamicProperty(System.String,OPF.DynamicType)">
<summary>
Adds a new dynamic property to the properties of the persistent.
</summary>
<param name="PropertyName">Name of the property.</param>
<param name="PropertyType">Type of the property.</param>
</member>
<member name="M:OPF.Persistent.AddDynamicProperty(System.String,OPF.DynamicType,System.Boolean)">
<summary>
Adds a new dynamic property to the properties of the persistent.
</summary>
<param name="PropertyName">Name of the property.</param>
<param name="PropertyType">Type of the property.</param>
<param name="Mandatory">If true, the property is checked during check constraints.</param>
</member>
<member name="M:OPF.Persistent.AddDynamicProperty(System.String,System.Object,OPF.DynamicType)">
<summary>
Adds a new dynamic property to the properties of the persistent.
</summary>
<param name="PropertyName">Name of the property.</param>
<param name="Value">Value of the property.</param>
<param name="PropertyType">Type of the property.</param>
</member>
<member name="M:OPF.Persisten
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -