コード例 #1
0
ファイル: JrtReport.cs プロジェクト: carlosgilf/prettyjs
        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;
        }
コード例 #2
0
 private DataSourcesType CreateDataSources()
 {
     var dataSources = new DataSourcesType();
     dataSources.DataSource = new[] {CreateDataSource()};
     return dataSources;
 }
コード例 #3
0
ファイル: RdlGenerator.cs プロジェクト: carlosgilf/prettyjs
 private Rdl.DataSourcesType CreateDataSources()
 {
     Rdl.DataSourcesType dataSources = new Rdl.DataSourcesType();
     dataSources.DataSource = new Rdl.DataSourceType[] { CreateDataSource() };
     return dataSources;
 }