<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.2.1" />

kCura.Utility.DataSetFactory

public class DataSetFactory
Simple class to create a dataset with a single datatable. This class is useful for testing and building mockups
public enum DataType

Enumerates the possible data types.

public DataSetFactory()

Initializes a new instance of DataSetFactory.

public void AddColumn(string name, DataType valueDataType)

Adds a column to the data table that will be produced by this factory.

public void AddRow(object value1)

Adds a value to the first column of a new row on the underlying data table.

public void AddRow(object value1, object value2)

Adds a value to the first two columns of a new row on the underlying data table.

public void AddRow(object value1, object value2, object value3)

Adds a value to the first three columns of a new row on the underlying data table.

Gets a data set wrapping the single data table maintained by this Factory.