02 2013 档案

摘要:第6章 控制数据库位置,创建过程和种子数据In previous chapters you have seen how convention and configuration can be used to affect the model and the resulting database schema. In this chapter you will see how the convention and configuration concept applies to the database that is used by Code First.You’ll learn how Co 阅读全文
posted @ 2013-02-18 15:28 韩志胜 阅读(458) 评论(0) 推荐(0)
摘要:Repository.cs using System.Collections.Generic;using System.Linq;using System.Linq.Expressions;using System.Data.Objects;using System.Data.Common;using System.Transactions;namespace System.Data.Entity{ public class Repository<TEntity> : IDisposable where TEntity : class { #region 私有属性 private 阅读全文
posted @ 2013-02-04 17:09 韩志胜 阅读(253) 评论(0) 推荐(0)