2011年3月21日

DbTransaction tran = _dataContext.Transaction

摘要: if(_dataContext.Connection.State==System.Data.ConnectionState.Closed)_dataContext.Connection.Open();else{_dataContext.Connection.Close();_dataContext.Connection.Open();}//DbTransactiontran=_dataContext.Transaction=_dataContext.Connection.BeginTransaction();//_dataContext.Transaction=tran;//try//{//_ 阅读全文

posted @ 2011-03-21 16:06 饶兴 阅读(717) 评论(0) 推荐(0) 编辑

导航