Share via


SqlSchemaModelConstructor Class

A constructor class that defines a schema model class for SQL Server.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.ServiceConstructor
    Microsoft.Data.Schema.ServiceConstructor<DataSchemaModel>
      Microsoft.Data.Schema.SchemaModel.DataSchemaModelConstructor
        Microsoft.Data.Schema.Sql.SchemaModel.SqlSchemaModelConstructor
          Microsoft.Data.Schema.Sql.SchemaModel.Sql100SchemaModelConstructor
          Microsoft.Data.Schema.Sql.SchemaModel.Sql80SchemaModelConstructor
          Microsoft.Data.Schema.Sql.SchemaModel.Sql90SchemaModelConstructor

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

Syntax

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

The SqlSchemaModelConstructor type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Collation Gets or sets the model collation. (Inherited from DataSchemaModelConstructor.)
Public property DatabaseSchemaProvider Gets or sets the current database schema provider. (Inherited from ServiceConstructor.)
Public property ErrorManager Gets or sets the error manager. (Inherited from DataSchemaModelConstructor.)
Public property ModelCapability Gets or sets the model capability to indicate whether the model allows database objects, server objects, or both.
Public property ModelFileName Gets or sets the model file name. (Inherited from DataSchemaModelConstructor.)
Public property ScriptCache Gets or sets the script cache. (Inherited from DataSchemaModelConstructor.)
Public property ValidationEnabled Gets or sets a value that indicates whether validation is enabled for the model.

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