Query Class
Encapsulates a request for data
Inheritance Hierarchy
Scribe.Core.ConnectorApi.Query Query
Namespace:
Scribe.Core.ConnectorApi.Query
Assembly:
Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)
Syntax
[DataContractAttribute] [KnownTypeAttribute(typeof(QueryEntity))] [KnownTypeAttribute(typeof(Expression))] [KnownTypeAttribute(typeof(ComparisonExpression))] [KnownTypeAttribute(typeof(LogicalExpression))] public class Query : IEqualityComparer<Query>
The Query type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
Default constructor |
||
Native Query constructor Set nativeQueryText to text of Connector specific query |
Properties
|
Name |
Description |
---|---|---|
The expression used to filter the query |
||
Indicates that this query is an Connector specific query |
||
Defines this query as a test query |
||
Contains the text of an Connector specific query |
||
The Entity at the root of the query |
||
Defines the top X rows the caller is expecting, a default value of zero expects all results from the query. |
Methods
|
Name |
Description |
---|---|---|
Creates a new object that is a copy of the current instance. |
||
This method will return whether this object and the passed in object are equal. (Overrides Object Equals(Object).) |
||
This method will return whether the two passed in objects are equal. |
||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
||
This method will return the QueryEntity that matches the passed in name or null if not found. |
||
Return all properties used by the root entity and all of it's children |
||
This method will return the hashcode of this object. (Overrides Object GetHashCode .) |
||
This method will return the hashcode of the passed in object. |
||
Gets the Type of the current instance. (Inherited from Object.) |
||
Creates a shallow copy of the current Object. (Inherited from Object.) |
||
This method will call the RootEntity and Constraints to perform their deserialized work that will tie the parents to their children. |
||
Returns text of query for use in UI (Overrides Object ToString .) |
See