using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading; namespace NXWMS.Client.Code.Extends { /// /// 实体扩展 /// public static class EntityExtentions { /// /// 追加并且又返回值 /// /// /// /// /// public static List Add(this List tEntity,T data) where T : class { tEntity.Add(data); return tEntity; } } }