CosmosComplexPropertyExtensions 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.
Complex property extension methods for Cosmos metadata.
[System.Runtime.CompilerServices.Nullable(0)]
public static class CosmosComplexPropertyExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type CosmosComplexPropertyExtensions = class
Public Module CosmosComplexPropertyExtensions
- Inheritance
-
CosmosComplexPropertyExtensions
- Attributes
Remarks
See Complex types, and Accessing Azure Cosmos DB with EF Core for more information and examples.
Methods
| Name | Description |
|---|---|
| GetJsonPropertyName(IReadOnlyComplexProperty) |
Returns the property name that the property is mapped to when targeting Cosmos. |
| SetJsonPropertyName(IMutableComplexProperty, String) |
Sets the property name that the property is mapped to when targeting Cosmos. |