首页 > 技术文章 > 数据上下文中的AddOrUpdate方法
techliang666 2018-01-25 12:12 原文
AddOrUpdate是扩展方法,需要添加引用 using System.Data.Entity.Migrations;