Shunde.NET Framework Class Library

DBObject.GetObject Method (Int32)

Gets and populates a single DBObject with the supplied ID

public static DBObject GetObject(
   Int32 id
);

Return Value

Returns a fully populated DBObject

Remarks

This is a useful method when you do not know the type of object you will get back.

Exceptions

Exception Type Condition
ObjectDoesNotExistException Thrown if the specified ID is not found in the database.

See Also

DBObject Class | Shunde.Framework Namespace | DBObject.GetObject Overload List