SqlDatabaseSchemaProvider Class

Base class for different versions of SQL Server DatabaseSchemaProvider.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.DatabaseSchemaProvider
    Microsoft.Data.Schema.Sql.SqlDatabaseSchemaProvider
      Microsoft.Data.Schema.Sql.Sql100DatabaseSchemaProvider
      Microsoft.Data.Schema.Sql.Sql80DatabaseSchemaProvider
      Microsoft.Data.Schema.Sql.Sql90DatabaseSchemaProvider

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

Syntax

'Declaration
Public MustInherit Class SqlDatabaseSchemaProvider _
    Inherits DatabaseSchemaProvider
public abstract class SqlDatabaseSchemaProvider : DatabaseSchemaProvider
public ref class SqlDatabaseSchemaProvider abstract : public DatabaseSchemaProvider
[<AbstractClass>]
type SqlDatabaseSchemaProvider =  
    class
        inherit DatabaseSchemaProvider
    end
public abstract class SqlDatabaseSchemaProvider extends DatabaseSchemaProvider

The SqlDatabaseSchemaProvider type exposes the following members.

Constructors

  Name Description
Protected method SqlDatabaseSchemaProvider Initializes a new instance of the SqlDatabaseSchemaProvider class.

Top

Properties

  Name Description
Public property ExtensionManager Gets the ExtensionManager for the current database project in Visual Studio Team System 2008 Database Edition. (Inherited from DatabaseSchemaProvider.)
Public property FamilyName Returns the name of this family of DatabaseSchemaProviders. (Overrides DatabaseSchemaProvider.FamilyName.)
Public property ModelSchema Gets the ModelSchema object for this provider. (Inherited from DatabaseSchemaProvider.)
Public property UserInteractionServices When implemented in a derived class, gets the UserInteractionServices object for this provider. (Inherited from DatabaseSchemaProvider.)

Top

Methods

  Name Description
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 GetSchemaUpgradeXslt When implemented in a derived class, returns XSLT to convert a schema model of the provided version to match the current schema model. (Inherited from DatabaseSchemaProvider.)
Public method GetService<TService> Returns an instantiated service object that is registered with this provider and identified by the provided Type. (Inherited from DatabaseSchemaProvider.)
Public method GetServiceConstructor<TServiceConstructor> Returns a constructor for the service that is identified by the provided Type. (Inherited from DatabaseSchemaProvider.)
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.)
Protected method RegisterModelTypes When implemented in a derived class, registers the model types that are found in the provided model schema. (Inherited from DatabaseSchemaProvider.)
Public method SchemaVersionSupported Returns a value that indicates whether the provided version is the same as that of the schema model, or whether an XLST is available to convert the schema model to the provided version. (Inherited from DatabaseSchemaProvider.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member MaxIdentifierPartLength Maximum length of an identifier part for the Transact-SQL language and for all SQL Server providers.
Public fieldStatic member MaxPartsInIdentifier Maximum number of parts in a single identifier (without common language runtime parts).

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 Namespace