DataSchemaModel.ScriptSourcedModelElement Class
Provides a base class for all model elements that have a script source.
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.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected MustInherit Class ScriptSourcedModelElement _
Inherits ModelElement _
Implements IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, _
IModelAnnotationHolder, IFormattable
protected abstract class ScriptSourcedModelElement : ModelElement,
IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder,
IFormattable
protected ref class ScriptSourcedModelElement abstract : public ModelElement,
IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder,
IFormattable
[<AbstractClass>]
type ScriptSourcedModelElement =
class
inherit ModelElement
interface IScriptSourcedModelElement
interface IModelElement
interface IModelPropertyContainer
interface IModelEntity
interface IModelAnnotationHolder
interface IFormattable
end
protected abstract class ScriptSourcedModelElement extends ModelElement implements IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder, IFormattable
The DataSchemaModel.ScriptSourcedModelElement type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataSchemaModel.ScriptSourcedModelElement | Initializes a new instance of the DataSchemaModel.ScriptSourcedModelElement 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. | |
ResolutionStatus | Gets the current resolution status. (Inherited from ModelElement.) | |
SecondarySources | Gets a list of secondary sources that define this element. | |
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. | |
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() | Returns the element name. (Overrides Object.ToString().) | |
ToString(String, IFormatProvider) | Returns the element name by using the provided format and format provider. |
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.