SqlModelBuilder Class

Class that is responsible for building a model of a SQL Server database.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.SchemaModel.ModelBuilder
    Microsoft.Data.Schema.Sql.SchemaModel.SqlModelBuilder

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

Syntax

'Declaration
Public NotInheritable Class SqlModelBuilder _
    Inherits ModelBuilder
public sealed class SqlModelBuilder : ModelBuilder
public ref class SqlModelBuilder sealed : public ModelBuilder
[<Sealed>]
type SqlModelBuilder =  
    class
        inherit ModelBuilder
    end
public final class SqlModelBuilder extends ModelBuilder

The SqlModelBuilder type exposes the following members.

Properties

  Name Description
Public property DataSchemaModel Gets the model that is built by this model builder.
Public property IsOptimizedForInsert Gets a value that indicates whether the model is currently optimized for insert.
Public property IsOptimizedForQuery Gets a value that indicates whether the model is currently optimized for querying.

Top

Methods

  Name Description
Public method Add Adds custom data to the schema manager, such as references. (Overrides ModelBuilder.Add(CustomSchemaData).)
Public method AddObjects Add objects to the model. (Overrides ModelBuilder.AddObjects(String, TextReader, IDictionary<String, String>).)
Public method BeginBatchUpdate Requests the ModelBuilder to start batch update mode processing. (Overrides ModelBuilder.BeginBatchUpdate().)
Public method Delete Removes custom data from the schema manager, such as references. (Overrides ModelBuilder.Delete(CustomSchemaData).)
Public method DeleteObjects Deletes the objects in the model that were added by using the specified cacheIdentifier. (Overrides ModelBuilder.DeleteObjects(String).)
Public method EndBatchUpdate Requests the ModelBuilder to stop batch update mode processing. (Overrides ModelBuilder.EndBatchUpdate().)
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 OptimizeForInsert Switches model into a mode that is optimized for insertions. (Overrides ModelBuilder.OptimizeForInsert().)
Public method OptimizeForQuery Switches model into a mode that is optimized for querying. (Overrides ModelBuilder.OptimizeForQuery().)
Public method ResetInternalElementsResolutionStatus Resets the resolution status for internal elements. (Overrides ModelBuilder.ResetInternalElementsResolutionStatus().)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpdateObjects Updates objects in the model. (Overrides ModelBuilder.UpdateObjects(String, TextReader, IDictionary<String, String>).)

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