KREDOR Business Object Framework Documentation

Database Methods

The methods of the Database class are listed below. For a complete list of Database class members, see the Database Members topic.

Public Instance Methods

Delete (inherited from BusinessObject) Deletes the object from the database (the row corresponding to the object).
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Reload (inherited from BusinessObject) Reloads the object tree by requerying the database.
Save (inherited from BusinessObject)Overloaded. Saves the object to the database.
ToBaseClass Returns a default C# base class from which all business classes bound to this database should derive.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

Protected Internal Instance Methods

OnLoad Automatically called after a Database object is loaded from the data source. Its purpose is to load contained (child) objects and collections. objects and collections.

See Also

Database Class | Kredor.BO.MetaTypes Namespace