public static IOrderedQueryable <TRecord> EmployeesQueryable <TRecord>(this CosmosClient client, string partitionKey) => client.GetEmployeesContainer().GetItemLinqQueryable <TRecord>(requestOptions: new QueryRequestOptions { PartitionKey = new PartitionKey(partitionKey.ToLowerInvariant()) });
public static IOrderedQueryable <TRecord> EmployeesQueryable <TRecord>(this CosmosClient client) => client.GetEmployeesContainer().GetItemLinqQueryable <TRecord>();