Michael Pizzo

Results 106 comments of Michael Pizzo

Note that the format that you propose is not OData compliant, which is why it's hard to generate/support from the OData libraries. The OData conformant way to add additional metadata...

It appears that ODataConventionModelBuilder is operating correctly in this case. Note that Nullable='true' on a collection does not mean that the collection property can be null (i.e., `List?`); it means...

I would have expected the way to do that would be to WriteStart(ODataResourceSet), followed by WritePrimitive() for each primitive value, where the instance annotations were part of the ODataResourceSet.

This seems to work: ```csharp var writer = msgReader.CreateODataResourceSetWriter(); var collection = new ODataResourceSet(); collection.SetSerializationInfo(new ODataResourceSerializationInfo { IsFromCollection = true, ExpectedTypeName = "Edm.Int32" }); collection.InstanceAnnotations.Add(new ODataInstanceAnnotation("NS.Annotation", new ODataPrimitiveValue("x"))); writer.WriteStart(collection); writer.Write(new...

What are the ramifications of introducing a base Term? Do consumers of the API need to do anything different? i.e., for structured types, a base type implies that all of...

> public interface IEdmTerm : IEdmSchemaElement Need to update public api --- Refers to: src/Microsoft.OData.Edm/Vocabularies/Annotations/IEdmTerm.cs:12 in 22945d8. [](commit_id = 22945d8514b5d8ab3b0ae247b7f3a4a4655a7ef6, deletion_comment = False)