摘要:
使用DbContext构造函数 1. Code First约定连接 namespace Magic.Unicorn{ public class UnicornsContext : DbContext { public UnicornsContext() { } }} 用Magic.Unicorn.UnicornsContext作为数据库名,在本机上生成该数据库的连接字符串(SQL Express... 阅读全文
posted @ 2011-05-04 00:00
Rush_SONG
阅读(8168)
评论(1)
推荐(1)
浙公网安备 33010602011771号