Bagikan melalui


Sql100DatabaseSchemaProvider Class

DatabaseSchemaProvider for SQL Server 2008. It will create a DataSchemaModel, script services, and user interaction services for SQL Server 2008.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<PreviousDatabaseSchemaProviderNameAttribute("Microsoft.Data.Schema.Sql.SqlDsp.Sql100DatabaseSchemaProvider")> _
Public NotInheritable Class Sql100DatabaseSchemaProvider _
    Inherits SqlDatabaseSchemaProvider
[PreviousDatabaseSchemaProviderNameAttribute("Microsoft.Data.Schema.Sql.SqlDsp.Sql100DatabaseSchemaProvider")]
public sealed class Sql100DatabaseSchemaProvider : SqlDatabaseSchemaProvider
[PreviousDatabaseSchemaProviderNameAttribute(L"Microsoft.Data.Schema.Sql.SqlDsp.Sql100DatabaseSchemaProvider")]
public ref class Sql100DatabaseSchemaProvider sealed : public SqlDatabaseSchemaProvider
[<Sealed>]
[<PreviousDatabaseSchemaProviderNameAttribute("Microsoft.Data.Schema.Sql.SqlDsp.Sql100DatabaseSchemaProvider")>]
type Sql100DatabaseSchemaProvider =  
    class
        inherit SqlDatabaseSchemaProvider
    end
public final class Sql100DatabaseSchemaProvider extends SqlDatabaseSchemaProvider

The Sql100DatabaseSchemaProvider type exposes the following members.

Constructors

  Name Description
Public method Sql100DatabaseSchemaProvider Initializes a new instance of the Sql100DatabaseSchemaProvider 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. (Inherited from SqlDatabaseSchemaProvider.)
Public property ModelSchema Gets the ModelSchema object for this provider. (Inherited from DatabaseSchemaProvider.)
Public property UserInteractionServices Gets the singleton that provides SQL Server 2008-related user interaction services. (Overrides DatabaseSchemaProvider.UserInteractionServices.)

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 Returns an Extensible Stylesheet Language Transformation (XSLT) that converts a .dbschema from the specified version to the current one, or null if no such conversion exists. (Overrides DatabaseSchemaProvider.GetSchemaUpgradeXslt(String).)
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 Sql100ModelSchemaVersion Current schema version for this 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.

See Also

Reference

Microsoft.Data.Schema.Sql Namespace