Beispiel #1
0
 private DataSetsType CreateDataSets()
 {
     var query = new Query { DataSourceName = "DummyDataSource", CommandText = "" };
     var ds = new DataSet
                  {
                      Query = new[] { query.Create() },
                      Fields = new[] { CreateFields() }
                  };
     var dataSets = new DataSetsType
                        {
                            DataSet = new[] { ds.Create("MyData") }
                        };
     return dataSets;
 }
 private DataSetsType CreateDataSets()
 {
     var dataSets = new DataSetsType();
     dataSets.DataSet = new[] {CreateDataSet()};
     return dataSets;
 }
Beispiel #3
0
 private Rdl.DataSetsType CreateDataSets()
 {
     Rdl.DataSetsType dataSets = new Rdl.DataSetsType();
     dataSets.DataSet = new Rdl.DataSetType[] { CreateDataSet() };
     return dataSets;
 }