DataSink Class

Provides an abstract base class for methods and properties used to store data created by a data generation plan.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.Tools.DataGenerator.DataSink

Namespace:  Microsoft.Data.Schema.Tools.DataGenerator
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
Public MustInherit Class DataSink _
    Implements IExtension
public abstract class DataSink : IExtension
public ref class DataSink abstract : IExtension
[<AbstractClass>]
type DataSink =  
    class
        interface IExtension
    end
public abstract class DataSink implements IExtension

The DataSink type exposes the following members.

Constructors

  Name Description
Protected method DataSink Called from constructors in derived classes to initialize the DataSink class.

Top

Properties

  Name Description
Public property CurrentCulture Gets the current culture information. The set procedure is for internal use.
Public property CurrentUICulture Gets the CultureInfo that represents the current culture used by the Resource Manager to look up culture-specific resources at run time. The set procedure is for internal use.

Top

Methods

  Name Description
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.)
Protected method OnConfigure Called by the data generation engine when configuring the data sink to allow derived classes to perform additional tasks.
Protected method OnCreateStorage Called by the data generation engine during execution to create the table storage and to allow derived classes to perform additional tasks.
Protected method OnValidateTarget Called by the data generation engine during validation to allow derived classes to perform additional validation.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method ValidateDifference Called by the data generation engine to allow derived classes to perform additional validation for the differences between the source and target elements.
Protected method ValidateTargetModel Performs basic validation on the target database to ensure that it is possible to run the data generation plan on the target.

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.Tools.DataGenerator Namespace

Other Resources

Creating Custom Data Generators

An Overview of Data Generator Extensibility