예제 #1
0
        public static DataTable LoadEntLibLogTable(Data.Database db)
        {
            // open the table and compare
            string           sql = "select * from Log";
            DBCommandWrapper cmd = db.GetSqlStringCommandWrapper(sql);
            DataSet          ds  = new DataSet();

            db.LoadDataSet(cmd, ds, "Log");

            return(ds.Tables[0]);
        }