随笔分类 -  扩展方法

摘要:一、方法封装 public static class DbContextExtension { public static List<T> GetList<T>(this DbContext db, string sql, CommandType type=CommandType.Text, par 阅读全文
posted @ 2021-04-20 09:26 苍煙落照 阅读(361) 评论(0) 推荐(0)