Share via


TableStorageContext Class

Generates new rows and provides information about the current state of row generation.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public NotInheritable Class TableStorageContext
public sealed class TableStorageContext
public ref class TableStorageContext sealed
[<Sealed>]
type TableStorageContext =  class end
public final class TableStorageContext

The TableStorageContext type exposes the following members.

Properties

  Name Description
Public property RowGoal Gets the number of rows to be generated.
Public property RowsGenerated Gets the current number of rows generated.

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 GenerateNextRow Generates a row of data.
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 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