SqlSchemaModel.SqlModelElement Class
Represents a schema model element for a SQL Server model.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.SchemaModel.ModelElement
Microsoft.Data.Schema.SchemaModel.DataSchemaModel.ScriptSourcedModelElement
Microsoft.Data.Schema.Sql.SchemaModel.SqlSchemaModel.SqlModelElement
Namespace: Microsoft.Data.Schema.Sql.SchemaModel
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Protected MustInherit Class SqlModelElement _
Inherits DataSchemaModel..::..ScriptSourcedModelElement _
Implements ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, _
IModelEntity, IModelAnnotationHolder
protected abstract class SqlModelElement : DataSchemaModel..::..ScriptSourcedModelElement,
ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity,
IModelAnnotationHolder
protected ref class SqlModelElement abstract : public DataSchemaModel..::..ScriptSourcedModelElement,
ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity,
IModelAnnotationHolder
[<AbstractClass>]
type SqlModelElement =
class
inherit DataSchemaModel..::..ScriptSourcedModelElement
interface ISqlModelElement
interface IScriptSourcedModelElement
interface IModelElement
interface IModelPropertyContainer
interface IModelEntity
interface IModelAnnotationHolder
end
protected abstract class SqlModelElement extends DataSchemaModel..::..ScriptSourcedModelElement implements ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
The SqlSchemaModel.SqlModelElement type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SqlSchemaModel.SqlModelElement | Initializes a new instance of the SqlSchemaModel.SqlModelElement class. |
Top
Properties
Name | Description | |
---|---|---|
ElementClass | Gets the ElementClass metadata for the element. (Inherited from ModelElement.) | |
Model | Gets the ModelStore for the element. (Inherited from ModelElement.) | |
Name | Gets the identifier for the element. (Inherited from ModelElement.) | |
PrimarySource | Gets the location of the primary source that defines this element. (Inherited from DataSchemaModel.ScriptSourcedModelElement.) | |
ResolutionStatus | Gets the current resolution status. (Inherited from ModelElement.) | |
SecondarySources | Gets a list of secondary sources that define this element. (Inherited from DataSchemaModel.ScriptSourcedModelElement.) | |
SourceCodePositions | (Inherited from ModelElement.) | |
ValidationStatus | Gets a value that indicates the validation status of the current element. (Inherited from ModelElement.) |
Top
Methods
Name | Description | |
---|---|---|
AddAnnotation | Adds the provided IModelAnnotation object to the element. (Inherited from ModelElement.) | |
Delete | Deletes the current element from the schema model. (Inherited from ModelElement.) | |
Equals | Determines whether a provided object is equal to the current element. (Inherited from ModelElement.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAnnotations() | Gets a list of annotations that have been added to this element. (Inherited from ModelElement.) | |
GetAnnotations(Type) | Gets a list of annotations of the specified type that have been added to this element. (Inherited from ModelElement.) | |
GetAnnotations(ModelIdentifier) | Gets a list of annotations that have been added to the specified element, which is a child element of the current element. (Inherited from ModelElement.) | |
GetAnnotations(ModelIdentifier, Type) | Gets a list of annotations of the specified type that have been added to the specified element that is a child of the current element. (Inherited from ModelElement.) | |
GetComposingChildren | Returns a list of child-composing elements. (Inherited from ModelElement.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from ModelElement.) | |
GetHierarchicalChildren | Gets a list of the child hierarchical child elements. (Inherited from ModelElement.) | |
GetMultiRelationship<TFrom, TTo> | (Inherited from ModelElement.) | |
GetOwnerInfo | Returns information about the owner of the current element. (Inherited from ModelElement.) | |
GetProperty<TProperty> | (Inherited from ModelElement.) | |
GetReferencedDanglingRelationshipEntries | (Inherited from ModelElement.) | |
GetReferencedElements | (Inherited from ModelElement.) | |
GetReferencedRelationshipEntries | (Inherited from ModelElement.) | |
GetReferencingElements | (Inherited from ModelElement.) | |
GetReferencingRelationshipEntries | (Inherited from ModelElement.) | |
GetRelationship(ModelRelationshipClass) | (Inherited from ModelElement.) | |
GetRelationshipEntrySources | Returns a list of relationship entry sources for a relationship entry. (Inherited from DataSchemaModel.ScriptSourcedModelElement.) | |
GetRelationships | Returns a list of relationships that are registered in the element. (Inherited from ModelElement.) | |
GetReverseMultiRelationship<TFrom, TTo> | (Inherited from ModelElement.) | |
GetReverseSingleRelationship<TFrom, TTo> | (Inherited from ModelElement.) | |
GetSingleRelationship<TFrom, TTo> | (Inherited from ModelElement.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsDeleted | Returns a value that indicates whether the current element has been deleted. (Inherited from ModelElement.) | |
IsExternal | Returns a value that indicates whether the current element has been loaded from a source outside the current schema. (Inherited from ModelElement.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveAnnotation | Removes the specified annotation from the element. (Inherited from ModelElement.) | |
SetProperty<TProperty> | (Inherited from ModelElement.) | |
ToString() | Converts the element to a string. (Overrides DataSchemaModel.ScriptSourcedModelElement.ToString().) | |
ToString(String, IFormatProvider) | Returns the element name by using the provided format and format provider. (Inherited from DataSchemaModel.ScriptSourcedModelElement.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.