Share via


RelationshipSchemaNameAttribute Class

Definition

Used by the code generation tool to create classes based on entities.

public ref class RelationshipSchemaNameAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments", Justification="Nullable arguments cause issues for compiler.")]
public sealed class RelationshipSchemaNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
[<System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments", Justification="Nullable arguments cause issues for compiler.")>]
type RelationshipSchemaNameAttribute = class
    inherit Attribute
Public NotInheritable Class RelationshipSchemaNameAttribute
Inherits Attribute
Inheritance
RelationshipSchemaNameAttribute
Attributes

Constructors

RelationshipSchemaNameAttribute(String)

Initializes a new instance of the RelationshipSchemaNameAttribute class

RelationshipSchemaNameAttribute(String, EntityRole)

Initializes a new instance of the RelationshipSchemaNameAttribute class

Properties

PrimaryEntityRole

Gets the entity role for the entity.

SchemaName

Gets the schema name for the entity relationship.

Applies to