上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 30 下一页
摘要: from:https://nuget.org/packages/Afterthought/1.0.8 site: https://github.com/vc3/Afterthought Afterthought allows developers to post-process .NET assemblies to add code that either cannot be added... 阅读全文
posted @ 2013-02-06 00:14 张保维 阅读(223) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/en-us/library/ms972319.aspx http://msdn.microsoft.com/en-us/library/ms972370.aspx 阅读全文
posted @ 2013-02-05 09:57 张保维 阅读(158) 评论(0) 推荐(0) 编辑
摘要: From: http://devlicio.us/blogs/jeff_perrin/archive/2006/12/13/the-specification-pattern.aspx Hot on the heels of my devastatingly fantastic post on an implementation of the Snapshot Pattern, I give y... 阅读全文
posted @ 2013-02-05 09:28 张保维 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 下面全部内容来源于MSDN: http://msdn.microsoft.com/en-us/data/jj591621.aspx This walkthrough will provide an overview Code First Migrations in Entity Framework. You can either complete the entire walkthro... 阅读全文
posted @ 2013-02-05 00:07 张保维 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 2012-2-4加入 http://thedatafarm.com/blog/ EF专家,写了几本关于EF方面的书,英文已经可以下载了。 阅读全文
posted @ 2013-02-04 23:58 张保维 阅读(101) 评论(0) 推荐(0) 编辑
摘要: from: http://thedatafarm.com/blog/data-access/digging-in-to-multi-tenant-migrations-with-ef6-alpha/ I wanted to give the new Multi-Tenant migration feature in the EF6 alpha (released Oct 30, 2012) a ... 阅读全文
posted @ 2013-02-04 23:54 张保维 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 一种模式,对多个DBContext的支持。 引自:http://stackoverflow.com/questions/6654355/multiple-dbcontexts-in-n-tier-application Giving your Factory and UnitOfWork a generic type parameter might be a solution: public... 阅读全文
posted @ 2013-02-04 22:39 张保维 阅读(376) 评论(0) 推荐(0) 编辑
摘要: public class Model { } public interface IRepository<TEntity> { /// <summary> /// Gets entity by key. /// </summary> /// <typeparam ... 阅读全文
posted @ 2013-01-30 11:11 张保维 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Reading All Users Session 这个功能,应该只限于 进行内会话,对于其它的存储方式未进行测试。当然,下面的方法也没有进行测试。理解一下实现机制就可以了。 from :http://weblogs.asp.net/imranbaloch/archive/2010/04/05/reading-all-users-session.aspx 阅读全文
posted @ 2013-01-25 18:10 张保维 阅读(183) 评论(0) 推荐(0) 编辑
摘要: namespace Kooboo.CMS.Sites.Services { public class CodeSnippetManager { protected string BasePath { get { return Kooboo.... 阅读全文
posted @ 2013-01-19 14:47 张保维 阅读(240) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 30 下一页