摘要: 直接上代码: static void Main(string[] args) { Database.SetInitializer<BaseDB>(null); BaseDB context = new BaseDB(); var book = new Book { ISBN = "isbn002", Title = "title004" }; context.BookEntity.Attach(book); var stateEntry = ((IObjec... 阅读全文
posted @ 2013-04-01 22:06 韩天伟 阅读(1814) 评论(0) 推荐(0) 编辑