OData ModelBuilder 1.x changelog
OData ModelBuilder available on the Nuget gallery
You can install or update the NuGet package for OData ModelBuilder using the Package Manager Console:
PM> Install-Package Microsoft.OData.ModelBuilder
- Enable DateOnly and TimeOnly types introduced in .NET 6
Update the OData.Lib dependency lib version to 7.9.0.
Excessive memory in
BuildDerivedTypesMapping
ofODataConventionModelBuilder
Implement convention model builder support for NonNullable Reference
Add more runtime configuration APIs for operation configuration
Enable model based query setting
Add revisions capability annotations
Update the OData.Lib dependency lib version to 7.7.3 and remove the explict
System.Text.Json
dependency.Map System.Object to Edm.Untyped and Collection Of System.Object to Collection(Edm.Untyped)
pubic class Customer
{
public object Info {get;set;}
public object[] Data {get;set;}
}
With the model builder,
- The Edm type of
Info
property isEdm.Untyped
- The Edm type of
Data
property isCollection(Edm.Untyped)
- ClrTypeAnnotation can accept null
- Relax the system component package version dependency
- Add instance annotation container
- [ #9 ] Enable Capabilities Vocabulary Configuration
N/A
Extracted ModelBuilder from OData WebApi