Table of Contents

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
object
ObjectQueryBase<ObjectQuery<TObject>, TObject>
ObjectQuery<TObject>
Implements
ICMSQueryable<TObject>
IObjectQuery<ObjectQuery<TObject>, TObject>
Derived
Inherited Members
Extension Methods

Constructors

ObjectQuery()

Constructor

public ObjectQuery()

ObjectQuery(string, bool)

Constructor

public ObjectQuery(string objectType, bool useObjectTypeCondition = true)

Parameters

objectType string

Object type

useObjectTypeCondition bool

If 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>