MultiObjectQueryBaseTQuery, TInnerQuery, TObjectGetEnumerableTypedResult Method |
Gets enumerable collection of TObject representing the result of this query.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntaxpublic virtual IEnumerable<TObject> GetEnumerableTypedResult(
CommandBehavior commandBehavior = CommandBehavior.Default,
bool newConnection = false
)
Parameters
- commandBehavior (Optional)
- Type: System.DataCommandBehavior
Command behavior for the underlying reader. - newConnection (Optional)
- Type: SystemBoolean
If true, the underlying reader will be executed using its own dedicated connection.
Return Value
Type:
IEnumerableTObjectReturns the enumeration resulting from query execution.
Implements
IObjectQueryTQuery, TObjectGetEnumerableTypedResult(CommandBehavior, Boolean)
ExceptionsException | Condition |
---|
NotSupportedException | Thrown when the query does not support reader. |
See Also