We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

SqlDatabaseSchemaProvider Class

Visual Studio 2010

Base class for different versions of SQL Server DatabaseSchemaProvider.

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

public abstract class SqlDatabaseSchemaProvider : DatabaseSchemaProvider

The SqlDatabaseSchemaProvider type exposes the following members.

Protected methodSqlDatabaseSchemaProviderInitializes a new instance of the SqlDatabaseSchemaProvider class.

Public propertyExtensionManagerGets the ExtensionManager for the current database project in Visual Studio Team System 2008 Database Edition. (Inherited from DatabaseSchemaProvider.)
Public propertyFamilyNameReturns the name of this family of DatabaseSchemaProviders. (Overrides DatabaseSchemaProvider.FamilyName.)
Public propertyModelSchemaGets the ModelSchema object for this provider. (Inherited from DatabaseSchemaProvider.)
Public propertyUserInteractionServicesWhen implemented in a derived class, gets the UserInteractionServices object for this provider. (Inherited from DatabaseSchemaProvider.)

Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetSchemaUpgradeXsltWhen 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 methodGetService<TService>Returns an instantiated service object that is registered with this provider and identified by the provided Type. (Inherited from DatabaseSchemaProvider.)
Public methodGetServiceConstructor<TServiceConstructor>Returns a constructor for the service that is identified by the provided Type. (Inherited from DatabaseSchemaProvider.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodRegisterModelTypesWhen implemented in a derived class, registers the model types that are found in the provided model schema. (Inherited from DatabaseSchemaProvider.)
Public methodSchemaVersionSupportedReturns 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 methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public fieldStatic memberMaxIdentifierPartLengthMaximum length of an identifier part for the Transact-SQL language and for all SQL Server providers.
Public fieldStatic memberMaxPartsInIdentifierMaximum number of parts in a single identifier (without common language runtime parts).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.