Compartir a través de


RelationshipQueryDataProviderAttribute Class

Definition

Required metadata for a query data provider to resolve data for an entity relationship exported through MEF. It provides data for the query engine to know which specific provider needs 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 class RelationshipQueryDataProviderAttribute : 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 RelationshipQueryDataProviderAttribute = class
    inherit Attribute
Public Class RelationshipQueryDataProviderAttribute
Inherits Attribute
Inheritance
RelationshipQueryDataProviderAttribute
Attributes

Constructors

RelationshipQueryDataProviderAttribute(String, String)

Initializes a new instance of the RelationshipQueryDataProviderAttribute class.

Properties

ParentType

Gets the parent type where the relationship is defined.

Relationship

Gets the name of the relationship, from which we retrieve the collection data.

Applies to