Shunde.NET Framework Class Library

DBObject Methods

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

Public Static Methods

CreateObjectCreates a new DBObject which belongs in the given Assembly with the classname, where the classname includes the namespace
GetObjectOverloaded. Gets and populates a single DBObject
GetObjectsOverloaded. Gets and (possibly partially) populates all the DBObjects for a given SQL Statement

Public Instance Methods

EqualsSpecifies that two DBObjects are equal
ExistsChecks to see if this object exists in the database
GetHashCodeGets the hash key for this object
GetType (inherited from Object)Gets the Type of the current instance.
PopulatePopulates this object from the database
PopulateBinaryDataPopulates the data of all the BinaryData objects in this class
PopulateObjectsPopulates the other DB objects in this class
ResetId Resets the Id of the object so that when saved again, a new object will be created in the database.
SaveSaves this object to the database
ToStringGets a String representation of this 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.

See Also

DBObject Class | Shunde.Framework Namespace