of<T extends DataClass> static method

DataSet<T> of<T extends DataClass>()

Retrieves the dataset of certain type

Implementation

static DataSet<T> of<T extends DataClass>() {
  return (DataContextGlobalResources.datasets[T] as DataSet<T>).replicate();
}