Share via


SqlElementDescriptor Class

Describes a SQL Server model element but does not instantiate it in the store.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Sql.SchemaModel.SqlElementDescriptor
    Microsoft.Data.Schema.Sql.SchemaModel.SqlPotentialElementDescriptor

Namespace:  Microsoft.Data.Schema.Sql.SchemaModel
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public Class SqlElementDescriptor
public class SqlElementDescriptor
public ref class SqlElementDescriptor
type SqlElementDescriptor =  class end
public class SqlElementDescriptor

The SqlElementDescriptor type exposes the following members.

Constructors

  Name Description
Public method SqlElementDescriptor(array<String[]) Initializes a new instance of the SqlElementDescriptor class.
Public method SqlElementDescriptor(Type, IEnumerable<String>) Initializes a new instance of the SqlElementDescriptor class.
Public method SqlElementDescriptor(Type, array<String[]) Initializes a new instance of the SqlElementDescriptor class.
Public method SqlElementDescriptor(Type, SqlElementDescriptorVolatility, IEnumerable<String>) Initializes a new instance of the SqlElementDescriptor class.
Public method SqlElementDescriptor(Type, SqlElementDescriptorVolatility, array<String[]) Initializes a new instance of the SqlElementDescriptor class.

Top

Properties

  Name Description
Public property ElementType Gets the type of the element.
Public property ExternalReferenceParts Gets the external parts for the name of the element.
Public property Identifiers Gets the parts of the name of the element.
Public property IgnoreName Gets or sets a value that indicates whether the name is ignored for this descriptor.
Public property IsEmpty Gets a value that indicates whether the descriptor is empty (contains no identifiers).
Public property IsVolatile Gets a value that indicates whether this descriptor corresponds to a volatile element.
Public property Volatility Gets the element volatility.

Top

Methods

  Name Description
Public method AddExternalNameParts(IEnumerable<String>) Adds one or more external name parts into the element descriptor.
Public method AddExternalNameParts(array<String[]) Adds one or more external name parts into the element descriptor.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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.

See Also

Reference

Microsoft.Data.Schema.Sql.SchemaModel Namespace