Share via


TableStorage Class

Represents data generation for a table.

Inheritance Hierarchy

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

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

Syntax

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

The TableStorage type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property CurrentCulture Gets the CultureInfo that represents the culture that is used by the current thread. The set procedure is only 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 only for internal use.

Top

Methods

  Name Description
Public method Dispose() Releases all resources that are used by the TableStorage.
Protected method Dispose(Boolean) When overridden in a derived class, releases the unmanaged resources that are used by the TableStorage, and optionally releases the managed resources.
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 OnClear Called by the data generation engine when the storage for the table should be cleared to allow derived classes to perform additional tasks.
Protected method OnIsPopulated Returns a value that indicates whether the provided column is populated by data.
Protected method OnOverrideGeneratorInstance Called by the data generation engine to allow derived classes to override the data generator selection for the provided table and column.
Protected method OnStatus Called when the status changes to allow derived classes to perform additional tasks.
Protected method OnStore Called by the data generation engine when table data should be stored to allow derived classes to perform additional tasks.
Protected method OnUpdateAssignedGenerator Called by the data generation engine when the assigned generator is updated in order to allow derived classes to perform additional tasks.
Protected method OnWarning Called by the data generator engine when a warning is received while the engine generates data.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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