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 | |
---|---|---|
![]() |
DataSchemaModel | Gets the model that is built by this model builder. |
![]() |
IsOptimizedForInsert | Gets a value that indicates whether the model is currently optimized for insert. |
![]() |
IsOptimizedForQuery | Gets a value that indicates whether the model is currently optimized for querying. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Add | Adds custom data to the schema manager, such as references. (Overrides ModelBuilder.Add(CustomSchemaData).) |
![]() |
AddObjects | Add objects to the model. (Overrides ModelBuilder.AddObjects(String, TextReader, IDictionary<String, String>).) |
![]() |
BeginBatchUpdate | Requests the ModelBuilder to start batch update mode processing. (Overrides ModelBuilder.BeginBatchUpdate().) |
![]() |
Delete | Removes custom data from the schema manager, such as references. (Overrides ModelBuilder.Delete(CustomSchemaData).) |
![]() |
DeleteObjects | Deletes the objects in the model that were added by using the specified cacheIdentifier. (Overrides ModelBuilder.DeleteObjects(String).) |
![]() |
EndBatchUpdate | Requests the ModelBuilder to stop batch update mode processing. (Overrides ModelBuilder.EndBatchUpdate().) |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OptimizeForInsert | Switches model into a mode that is optimized for insertions. (Overrides ModelBuilder.OptimizeForInsert().) |
![]() |
OptimizeForQuery | Switches model into a mode that is optimized for querying. (Overrides ModelBuilder.OptimizeForQuery().) |
![]() |
ResetInternalElementsResolutionStatus | Resets the resolution status for internal elements. (Overrides ModelBuilder.ResetInternalElementsResolutionStatus().) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
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.