Gets and populates a single DBObject
Returns a fully populated DBObject
This is a useful method when you do not know the type of object you will get back. Just pass in a SQL statement that returns one id.
Exception Type | Condition |
---|---|
ValidationException | Thrown if the query returns more than one row. |
ObjectDoesNotExistException | Thrown if the specified ID is not found in the database. |
DBObject Class | Shunde.Framework Namespace | DBObject.GetObject Overload List