RelationshipSchemaNameAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |