Show / Hide Table of Contents

Class ObjectQuery<TObject>

Represents the object query.

Inheritance
System.Object
Query<TObject, ObjectQuery<TObject>>
ObjectQuery<TObject>
Implements
System.Collections.Generic.IEnumerable<TObject>
System.Collections.IEnumerable
Inherited Members
Query<TObject, ObjectQuery<TObject>>.Request
Query<TObject, ObjectQuery<TObject>>.Executor
Query<TObject, ObjectQuery<TObject>>.Where(Expression<Func<TObject, Object>>, Object)
Query<TObject, ObjectQuery<TObject>>.Where(String, Object)
Query<TObject, ObjectQuery<TObject>>.Where(String)
Query<TObject, ObjectQuery<TObject>>.FetchAll()
Query<TObject, ObjectQuery<TObject>>.FetchOnlyArtifactID()
Query<TObject, ObjectQuery<TObject>>.Fetch(String[])
Query<TObject, ObjectQuery<TObject>>.Fetch(IEnumerable<String>)
Query<TObject, ObjectQuery<TObject>>.SetLength(Int32)
Query<TObject, ObjectQuery<TObject>>.GetEnumerator()
Query<TObject, ObjectQuery<TObject>>.IEnumerable.GetEnumerator()
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 Source

For(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.

| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX