RelationshipSchemaNameAttribute Constructors

Definition

Overloads

RelationshipSchemaNameAttribute(String)

Initializes a new instance of the RelationshipSchemaNameAttribute class

RelationshipSchemaNameAttribute(String, EntityRole)

Initializes a new instance of the RelationshipSchemaNameAttribute class

RelationshipSchemaNameAttribute(String)

Initializes a new instance of the RelationshipSchemaNameAttribute class

public:
 RelationshipSchemaNameAttribute(System::String ^ schemaName);
public RelationshipSchemaNameAttribute (string schemaName);
new Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute : string -> Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute
Public Sub New (schemaName As String)

Parameters

schemaName
String

The schema name for the entity relationship.

Applies to

RelationshipSchemaNameAttribute(String, EntityRole)

Initializes a new instance of the RelationshipSchemaNameAttribute class

public:
 RelationshipSchemaNameAttribute(System::String ^ schemaName, Microsoft::Xrm::Sdk::EntityRole primaryEntityRole);
public RelationshipSchemaNameAttribute (string schemaName, Microsoft.Xrm.Sdk.EntityRole primaryEntityRole);
new Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute : string * Microsoft.Xrm.Sdk.EntityRole -> Microsoft.Xrm.Sdk.RelationshipSchemaNameAttribute
Public Sub New (schemaName As String, primaryEntityRole As EntityRole)

Parameters

schemaName
String

The schema name for the entity relationship.

primaryEntityRole
EntityRole

The entity role for the entity.

Applies to