Shunde.NET Framework Class Library

DBObject.GetObjects Method (Type, Type[], Boolean, String)

Gets and populates all the DBObjects for a given SQL Statement using the Types given in extendingTypes

public static DBObject[] GetObjects(
   Type baseType,
   Type[] extendingTypes,
   Boolean useView,
   String where
);

Parameters

Type
Type[]
Boolean
String

Remarks

The base type is the type that all the objects being retrieved extend. For example, if Notebook and Desktop both extend Computer, then the base type is Computer if getting all Notebooks and Desktops. The returned objects are then created as the type that they should be (ie. Notebooks and Desktops), and fully populated if the type is included in the extendingTypes array. However, if the type is not included then it is only partially populated up to the level of the base type (ie. Computer).

See Also

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