Class ObjectQuery<TObject>
Represents the object query.
Implements
System.Collections.Generic.IEnumerable<TObject>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Relativity.Testing.Framework.Api.ObjectManagement
Assembly: Relativity.Testing.Framework.Api.dll
Syntax
public class ObjectQuery<TObject> : Query<TObject, ObjectQuery<TObject>>, IEnumerable<TObject>, IEnumerable
Type Parameters
Name | Description |
---|---|
TObject | The type of the object. |
Methods
| Improve this Doc View SourceFor(Int32)
Sets the workspace ID for which the query should be executed.
Declaration
public ObjectQuery<TObject> For(int workspaceId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | workspaceId | The workspace ID. |
Returns
Type | Description |
---|---|
ObjectQuery<TObject> | The query object. |
With(UserCredentials)
Sets the user credentials with which the query should be executed.
Declaration
public ObjectQuery<TObject> With(UserCredentials userCredentials)
Parameters
Type | Name | Description |
---|---|---|
UserCredentials | userCredentials | User credentials. |
Returns
Type | Description |
---|---|
ObjectQuery<TObject> | The query object. |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable