QueryDataProviderAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Required metadata for any query data provider exported through MEF. It provides data for the query engine to know which specific provider need to be loaded.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class QueryDataProviderAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type QueryDataProviderAttribute = class
inherit Attribute
Public NotInheritable Class QueryDataProviderAttribute
Inherits Attribute
- Inheritance
-
QueryDataProviderAttribute
- Attributes
Constructors
QueryDataProviderAttribute(String, String) |
Initializes a new instance of the QueryDataProviderAttribute class. |
Properties
EntityType |
Gets the type of elements provided by the current data provider. |
Model |
Gets the model with which the data provider works. |