Dibaca dalam bahasa Inggeris

Kongsi melalui


Microsoft.AspNetCore.OData.Query.Container Namespace

Classes

TruncatedCollection<T>

Represents a class that truncates a collection to a given page size.

Interfaces

IPropertyMapper

The result of a $select and $expand projection is represented as an ISelectExpandWrapper instance. That instance can be projected into an IDictionary<TKey,TValue> instance by calling ToDictionary(Func<IEdmModel,IEdmStructuredType,IPropertyMapper>). That method will use the function to construct an IPropertyMapper that will map the property names in that projection to the keys in the returned IDictionary<TKey,TValue>. The main purpose of converting an ISelectExpandWrapper instance into an IDictionary<TKey,TValue> (using the method mentioned above) is to allow changing the names of the properties in the IEdmStructuredType that will be used during the serialization of the $select and $expand projection by a given formatter. For example, to support custom serialization attributes of a particular formatter.

ITruncatedCollection

Represents a collection that is truncated to a given page size.