RelationshipSchemaNameAttribute Constructor (String, EntityRole)
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)
Syntax
public RelationshipSchemaNameAttribute(
string schemaName,
EntityRole primaryEntityRole
)
Public Sub New (
schemaName As String,
primaryEntityRole As EntityRole
)
Parameters
schemaName
Type: System.StringType: String The schema name for the entity relationship.
primaryEntityRole
Type: Microsoft.Xrm.Sdk.EntityRoleType: EntityRoleThe entity role for the entity.
See Also
RelationshipSchemaNameAttribute Overload
RelationshipSchemaNameAttribute Class
Microsoft.Xrm.Sdk Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright