ModelBuilder
ModelBuilder copied to clipboard
A project to generate Edm (Entity Data Model) from CLR types
*Short summary (3-5 sentences) describing the issue.* ### Assemblies affected *Which assemblies and versions are known to be affected e.g. OData ModelBuilder 1.x* ### Reproduce steps * If customer can...
[Capabilities vocabulary support(https://learn.microsoft.com/en-us/odata/webapi/capabilities-vocabulary-support) is working well for an entity until we use [Key value binding](https://learn.microsoft.com/en-us/odata/webapi/key-value-binding) ### Assemblies affected * OData ModelBuilder 1.0.9 ### Reproduce steps ```c# public class MyEntity {...
So far, all the convention rules are hard coded in the convention model builder. We'd consider to create a convention provider.
The ODataConventionalModelBuilder throws an exception durng registration of entities with a key property that is of a nullable enum type: `System.ArgumentException: Type provided must be an Enum. (Parameter 'enumType')` Although...
Interface IEdmEntitySet include interface IEdmVocabularyAnnotatable, so I can set, for example, optimistic concurrency properties for top-level entity set. BUT, interface IEdmContainedEntitySet not include IEdmVocabularyAnnotatable, so I can't set optimistic concurrency...
In .Net 7 annotations for basetype properties are only added to the last type. ### Assemblies affected Microsoft.OData.ModelBuilder 1.0.9 ### Reproduce steps This program throws `InvalidOperationException`, while it runs fine...
The DescriptionConfiguration class returned by extension methods such as [`HasDescription(this NavigationSourceConfiguration navigationSource)`](https://github.com/OData/ModelBuilder/blob/5ebe57dba23bf0d9f341ca9e8a66bd12298198ad/src/Microsoft.OData.ModelBuilder/Vocabularies/VocabularyTermConfigurationExtensions.cs#L366) returns a record edm expression, while methods in the EDM library such as [GetLongDescriptionAnnotation(this IEdmModel model, IEdmVocabularyAnnotatable target)](https://github.com/OData/odata.net/blob/927d60f8205cbcb431e94f796c2ded003c2f0eb0/src/Microsoft.OData.Edm/ExtensionMethods/ExtensionMethods.cs#L808)...
When we have the private set for the Key property. The EF works well with it [Read-only properties](https://docs.microsoft.com/en-us/ef/core/modeling/constructors#read-only-properties). And we have all BO with private/proteced Key set. ### Reproduce steps...
*Short summary (3-5 sentences) describing the issue.* ### Assemblies affected *Which assemblies and versions are known to be affected e.g. OData ModelBuilder 1.x* ### Reproduce steps There's a static instance...
Term is used to create the vocabulary annotation. Please consider to support term configuration.