CosmosQueryableExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Cosmos-specific extension methods for LINQ queries.
public static class CosmosQueryableExtensions
type CosmosQueryableExtensions = class
Public Module CosmosQueryableExtensions
- Inheritance
-
CosmosQueryableExtensions
Remarks
See Querying data with EF Core, and Accessing Azure Cosmos DB with EF Core for more information and examples.
Methods
FromSqlRaw<TEntity>(DbSet<TEntity>, String, Object[]) |
Creates a LINQ query based on a raw SQL query. |
WithPartitionKey<TEntity>(IQueryable<TEntity>, String) |
Specify the partition key for partition used for the query. Required when using a resource token that provides permission based on a partition key for authentication, |
Applies to
Entity Framework