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

DataView

Represents a sql data view.
protected DataView _dataview

protected string _rowFilter

public string ExecutedQuery { get; set; }

Gets or sets the executed query of this DataView.

public IList<SqlParameter> Parameters { get; set; }

Gets or sets the sql parameters of this DataView.

public string RowFilter { get; set; }

Gets or sets the row filter.

public DataTable Table { get; }

Gets the underlying system data table.

public DataView UnderlyingDataView { get; }

Gets the underlying system data view.

public DataView(DataTable table)

Initializes a new instance of DataView with the provided backing DataTable.

public DataView(DataSet dataSet)

Initializes a new instance of DataView with the provided backing DataSet.

public DataView(DataTable table, string RowFilter, string Sort, DataViewRowState RowState)

Initializes a new instance of DataView with the provided backing table, modified by the provided row filter, sort, and row state.

protected DataView(SerializationInfo info, StreamingContext context)

Initializes a new instance of DataView from the provided streaming information and streaming context.

public static DataView CreateFromArray(string columnName, object[] array)

Creates a DataView with the specified column containing the specified array of objects.

Adds a new empty row to the DataView.

public DataView Clone()

Clones this DataView using the current backing DataView and current state.

public int[] ColumnToIntegerArray(string columnName)

Converts the specified column name to an integer array.

public List<T> ColumnToList<T>(string columnName)

Gets a list of values casted to type T from the specified column.

Gets the serialization info for this DataView.

Gets a new SQLFilterGenerator.

public DataSet ToDataSet()

Wraps the table of this DataView in a DataSet of one table named "Table".