摘要: 1 public class EFDbContext : DbContext2 {3 public EFDbContext()4 : base("name=MySqlCon")//这里可以指定web.config中连接数据库字符串的name值5... 阅读全文
posted @ 2015-01-03 16:42 Zero# 阅读(141) 评论(0) 推荐(0) 编辑