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 Rdl.ConnectionPropertiesType CreateConnectionProperties() { ConnectionProperties conn = new ConnectionProperties(); conn.ConnectString = ""; conn.DataProvider = "SQL"; return conn.Create(); }