/// <summary>Create a query of a single item based on another one.</summary>
 /// <param name="query">The query.</param>
 public DataServiceQuerySingle(DataServiceQuerySingle <TElement> query)
 {
     this.Context      = query.Context;
     this.Query        = query.Query;
     this.IsComposable = query.IsComposable;
     this.isFunction   = query.isFunction;
 }
 /// <summary>Initializes a new instance of the <see cref="T:Microsoft.OData.Client.DataServiceCollection`1" /> class based on query execution and with the specified tracking mode.</summary>
 /// <param name="trackingMode">A <see cref="T:Microsoft.OData.Client.TrackingMode" /> value that indicated whether or not changes made to items in the collection are automatically tracked.</param>
 /// <param name="item">A <see cref="T:Microsoft.OData.Client.DataServiceQuerySingle`1" /> or LINQ query that returns an object that are used to initialize the collection.</param>
 public DataServiceCollection(TrackingMode trackingMode, DataServiceQuerySingle <T> item)
     : this(null, item.Query, trackingMode, null, null, null)
 {
 }
 /// <summary>Initializes a new instance of the <see cref="T:Microsoft.OData.Client.DataServiceCollection`1" /> class based on query execution.</summary>
 /// <param name="item">A <see cref="T:Microsoft.OData.Client.DataServiceQuerySingle`1" /> or LINQ query that returns an object that are used to initialize the collection.</param>
 public DataServiceCollection(DataServiceQuerySingle <T> item)
     : this(null, item.Query, TrackingMode.AutoChangeTracking, null, null, null)
 {
 }