Share via


ISelectExpandWrapper Interface

Definition

Represents the result of a $select and $expand query operation.

public interface ISelectExpandWrapper
type ISelectExpandWrapper = interface
Public Interface ISelectExpandWrapper

Methods

ToDictionary()

Projects the result of a $select and $expand query to a IDictionary<TKey,TValue>.

ToDictionary(Func<IEdmModel,IEdmStructuredType,IPropertyMapper>)

Projects the result of a $select and/or $expand query to an IDictionary<TKey,TValue> using the given propertyMapperProvider. The propertyMapperProvider is used to obtain an IPropertyMapper for the IEdmStructuredType that this ISelectExpandWrapper instance represents. This IPropertyMapper will be used to map the properties of the ISelectExpandWrapper instance to the keys of the returned IDictionary<TKey,TValue>. This method can be used, for example, to map the property names in the IEdmStructuredType to the names that should be used to serialize the properties that this projection contains.

Applies to