RelationshipSchemaNameAttribute Constructor (String, EntityRole)

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Initializes a new instance of the RelationshipSchemaNameAttribute class

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

public RelationshipSchemaNameAttribute(
	string schemaName,
	EntityRole primaryEntityRole
)

Parameters

schemaName
Type: System.String

Type: String The schema name for the entity relationship.

primaryEntityRole
Type: Microsoft.Xrm.Sdk.EntityRole

Type: EntityRoleThe entity role for the entity.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: