Class ObjectQuery<TObject>
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Queries particular database data or defines parameters for data selection
public class ObjectQuery<TObject> : ObjectQueryBase<ObjectQuery<TObject>, TObject>, ICMSQueryable<TObject>, ICMSQueryable, IObjectQuery<ObjectQuery<TObject>, TObject>, IDataQuery<ObjectQuery<TObject>>, IDataQuerySettings<ObjectQuery<TObject>>, IWhereCondition<ObjectQuery<TObject>>, IQueryParameters<ObjectQuery<TObject>>, IObjectQuery, IDataQuery, IDataQuerySettings, IWhereCondition, IQueryParameters, IQueryObjectWithValue, IQueryObject where TObject : BaseInfo
Type Parameters
TObject
- Inheritance
-
objectQueryParametersBase<ObjectQuery<TObject>>WhereConditionBase<ObjectQuery<TObject>>DataQuerySettingsBase<ObjectQuery<TObject>>DataQueryBase<ObjectQuery<TObject>>ObjectQueryBase<ObjectQuery<TObject>, TObject>ObjectQuery<TObject>
- Implements
-
ICMSQueryable<TObject>IObjectQuery<ObjectQuery<TObject>, TObject>IDataQuery<ObjectQuery<TObject>>IDataQuerySettings<ObjectQuery<TObject>>IWhereCondition<ObjectQuery<TObject>>IQueryParameters<ObjectQuery<TObject>>
- Derived
- Inherited Members
- Extension Methods
Constructors
ObjectQuery()
Constructor
public ObjectQuery()
ObjectQuery(string, bool)
Constructor
public ObjectQuery(string objectType, bool useObjectTypeCondition = true)
Parameters
objectType
stringObject type
useObjectTypeCondition
boolIf true, the query uses the object type condition. The condition applies only when object type is specified.
Operators
explicit operator InfoDataSet<TObject>(ObjectQuery<TObject>)
Operator for conversion from typed ObjectQuery class to typed InfoDataSet
public static explicit operator InfoDataSet<TObject>(ObjectQuery<TObject> query)
Parameters
query
ObjectQuery<TObject>Query object
Returns
- InfoDataSet<TObject>