IDataServiceQueryProvider 接口
定义
为自定义数据服务提供程序定义一个元数据和查询源实现。Defines a metadata and query source implementation for a custom data service provider.
public interface class IDataServiceQueryProvider
public interface IDataServiceQueryProvider
type IDataServiceQueryProvider = interface
Public Interface IDataServiceQueryProvider
属性
| CurrentDataSource |
提供数据的数据源对象。The data source object from which data is provided. |
| IsNullPropagationRequired |
获取一个值,该值指示 null 传播是否为表达式树中所必需的。Gets a value that indicates whether null propagation is required in expression trees. |
方法
| GetOpenPropertyValue(Object, String) |
获取开放属性的值。Gets the value of the open property. |
| GetOpenPropertyValues(Object) |
获取在一个开放类型的给定实例中定义的所有属性的名称和值。Gets the name and values of all the properties that are defined in the given instance of an open type. |
| GetPropertyValue(Object, ResourceProperty) |
获取开放属性的值。Gets the value of the open property. |
| GetQueryRootForResourceSet(ResourceSet) |
获取表示容器的 IQueryable<T>。Gets the IQueryable<T> that represents the container. |
| GetResourceType(Object) |
获取由参数指定的实例的资源类型。Gets the resource type for the instance that is specified by the parameter. |
| InvokeServiceOperation(ServiceOperation, Object[]) |
调用给定的服务操作并返回结果。Invokes the given service operation and returns the results. |