2010年12月16日

CSLA中的连接管理器ConnectionManager

摘要: CSLA中实现了嵌套数据库连接时,使用一个数据库连接,看实例:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1privatestring_conn="连接字符串";2privatevoidInsertA()3{4using(varctx=ConnectionManager<SqlConnection>.GetManager(_conn,false))5{6using(varcm=ctx.Connectio 阅读全文

posted @ 2010-12-16 10:35 白亚伟 阅读(1631) 评论(0) 推荐(0) 编辑

导航