Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 private Rdl.ConnectionPropertiesType CreateConnectionProperties()
 {
     ConnectionProperties conn = new ConnectionProperties();
     conn.ConnectString = "";
     conn.DataProvider = "SQL";
     return conn.Create();
 }