Поделиться через


SqlModelBuilderConstructor Class

A constructor class that defines a model builder for a SQL Server database.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.ServiceConstructor
    Microsoft.Data.Schema.ServiceConstructor<ModelBuilder>
      Microsoft.Data.Schema.SchemaModel.ModelBuilderConstructor
        Microsoft.Data.Schema.Sql.SchemaModel.SqlModelBuilderConstructor
          Microsoft.Data.Schema.Sql.SchemaModel.Sql100ModelBuilderConstructor
          Microsoft.Data.Schema.Sql.SchemaModel.Sql80ModelBuilderConstructor
          Microsoft.Data.Schema.Sql.SchemaModel.Sql90ModelBuilderConstructor

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

Syntax

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

The SqlModelBuilderConstructor type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property DatabaseSchemaProvider Gets or sets the current database schema provider. (Inherited from ServiceConstructor.)
Public property DataSchemaModel Gets or sets the schema manager for the model builder. (Inherited from ModelBuilderConstructor.)
Public property DataSchemaModelController Gets or sets the schema manager controller. (Inherited from ModelBuilderConstructor.)
Public property DefaultDatabaseAuthorizer Gets or sets the authorizer to use for database objects, if it was not specified explicitly.
Public property DefaultServerAuthorizer Gets or sets the authorizer to use for server objects, if it was not specified explicitly.
Public property ModelBuilderOption Gets or sets a model builder option. (Inherited from ModelBuilderConstructor.)
Public property PreserveHeaderCommentsForSysCommentsObjects Gets or sets a value that indicates whether to preserve comments that are found in the headers for the sys comments objects.
Protected property SqlSchemaModel Gets the model that the model builder updates.
Public property StatementFilterEnabled Gets or sets a value that indicates whether the statement filter is enabled.

Top

Methods

  Name Description
Public method Clone Duplicates the current instance. (Inherited from ServiceConstructor<TService>.)
Public method ConstructService Called by a DatabaseSchemaProvider to create an instance of the specified TService type. (Inherited from ServiceConstructor<TService>.)
Protected method ConstructServiceImplementation Called by the ConstructService method to return a new instance of the specified TService Type. (Inherited from ServiceConstructor<TService>.)
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