随笔分类 -  .NET Core

摘要:public virtual void AddBySqlBulkCopy(IEnumerable<TEntity> entities) { List<PropertyInfo> pList = new List<PropertyInfo>(); DataTable dt = new DataTabl 阅读全文
posted @ 2020-12-18 17:49 Tim1027 阅读(296) 评论(0) 推荐(0)
摘要:/// <summary>要查询的对象</summary> class Employee { public int ID { get;set; } public string FName { get; set; } public int Age { get; set; } public char S 阅读全文
posted @ 2020-11-05 15:12 Tim1027 阅读(2579) 评论(0) 推荐(0)
摘要:平时在项目中很多时候直接用 from s in list1 join s2 in list2 ....这样的写法,最近在项目中看到有同事用了Enumerable<T>的GroupJoin 方法和Join的用法,我也没有深究二者的区别,今天就做了一个总结。 首先我们 先看join 的用法: 1 cla 阅读全文
posted @ 2020-11-05 11:44 Tim1027 阅读(486) 评论(0) 推荐(1)