摘要: Code first (VS2015 ,Sql Server2014) 新建MVC项目 实例: 在数据库中会有个新建的数据库和表 源码地址:https://note.youdao.com/ynoteshare1/index.html?id=1fdb041fc3840c0f1938f468647a42 阅读全文
posted @ 2019-05-29 09:43 CodeMagic 阅读(751) 评论(0) 推荐(0) 编辑
摘要: Model first (VS2015 ,Sql Server2014) 新建MVC项目 右键product ,新增标量属性(数据库表中的字段) Ctrl + S 保存页面,右键“根据模型生成数据库” 实例: 源码地址:http://note.youdao.com/noteshare?id=f094 阅读全文
posted @ 2019-05-29 09:34 CodeMagic 阅读(581) 评论(0) 推荐(0) 编辑
摘要: database first (VS2015 ,Sql Server2014) database first (VS2015 ,Sql Server2014) 1,新建MVC项目 实例: 源码代码:http://note.youdao.com/noteshare?id=1fdb041fc3840c0 阅读全文
posted @ 2019-05-29 09:16 CodeMagic 阅读(962) 评论(0) 推荐(0) 编辑