摘要: 要取得 Conext 中相关的表的信息, 然后在 ContextManger中管理多个 context ,通过 IRespontry《Entity》根据 类型再自动选择 Conext, 从网上看到一个这样的方法:var entities = (context as IObjectContextAdapter).ObjectContext.MetadataWorkspace.GetItems<E... 阅读全文
posted @ 2012-12-22 15:35 张保维 阅读(1817) 评论(0) 推荐(0) 编辑