摘要: public static class DbContextExtension { public static IQueryable Query(this DbContext context, Type entityType) { var SetMethod = typeof(DbContext).GetMethod(nameof(DbContext.Set)); return (IQueryabl 阅读全文
posted @ 2019-08-11 13:07 狂乱贵公子 阅读(554) 评论(0) 推荐(0) 编辑