ModelBuilder Class
Used to populate schema manager with scripts.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.SchemaModel.ModelBuilder
Microsoft.Data.Schema.Sql.SchemaModel.SqlModelBuilder
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public MustInherit Class ModelBuilder
public abstract class ModelBuilder
public ref class ModelBuilder abstract
[<AbstractClass>]
type ModelBuilder = class end
public abstract class ModelBuilder
The ModelBuilder type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ModelBuilder | Initializes a new instance of the ModelBuilder class. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds custom schema data. | |
AddObjects | Adds objects to the schema manager. | |
BeginBatchUpdate | Requests that the ModelBuilder start batch update mode processing. | |
Delete | Deletes custom schema data. | |
DeleteObjects | Deletes objects in the schema manager that were added with the cache identifier. | |
EndBatchUpdate | Requests that the ModelBuilder stop batch update mode processing. | |
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 | Optimizes for insertion. | |
OptimizeForQuery | Optimizes for query. | |
ResetInternalElementsResolutionStatus | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateObjects | Updates the objects that were previously added with the cache identifier. |
Top
Remarks
All database schema provider (DSP) implementations must implement this class.
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.