private static DataSourcesType CreateDataSources() { var dataSources = new DataSourcesType(); var source = new DataSource(); var conn = new ConnectionProperties { ConnectString = "", DataProvider = "SQL" }; source.ConnectionProperties = new[] { conn.Create() }; dataSources.DataSource = new[] { source.Create("DummyDataSource") }; return dataSources; }
private DataSourcesType CreateDataSources() { var dataSources = new DataSourcesType(); dataSources.DataSource = new[] {CreateDataSource()}; return dataSources; }
private Rdl.DataSourcesType CreateDataSources() { Rdl.DataSourcesType dataSources = new Rdl.DataSourcesType(); dataSources.DataSource = new Rdl.DataSourceType[] { CreateDataSource() }; return dataSources; }