摘要: public DataTable ToDataTable(IList list) { DataTable dt = new DataTable(); if (list.Count > 0) { foreach (IList ll in list) { for (int c = 0; c < ll... 阅读全文
posted @ 2008-06-04 13:43 acme 阅读(766) 评论(0) 推荐(0) 编辑
摘要: public IList ExecuteSQLQuery(string sql) { ITransaction trn = this._session.BeginTransaction(); try { ISQLQuery sqlQuery = _session.CreateSQLQuery(sql); ... 阅读全文
posted @ 2008-06-04 13:39 acme 阅读(386) 评论(0) 推荐(0) 编辑