ModelBuilder Class

Used to populate schema manager with scripts.

Inheritance Hierarchy


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


Public MustInherit Class ModelBuilder
public abstract class ModelBuilder
public ref class ModelBuilder abstract
type ModelBuilder =  class end
public abstract class ModelBuilder

The ModelBuilder type exposes the following members.


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



  Name Description
Public method Add Adds custom schema data.
Public method AddObjects Adds objects to the schema manager.
Public method BeginBatchUpdate Requests that the ModelBuilder start batch update mode processing.
Public method Delete Deletes custom schema data.
Public method DeleteObjects Deletes objects in the schema manager that were added with the cache identifier.
Public method EndBatchUpdate Requests that the ModelBuilder stop batch update mode processing.
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 Optimizes for insertion.
Public method OptimizeForQuery Optimizes for query.
Public method ResetInternalElementsResolutionStatus
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpdateObjects Updates the objects that were previously added with the cache identifier.



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.

See Also


Microsoft.Data.Schema.SchemaModel Namespace