} //ToList(a => new { sublist = fsql.Select<T>().ToList() }) 子集合查询 public void CopyTo(ReadAnonymousTypeInfo target) { target.Property = Property; target.ReflectionField = ReflectionField; target.CsName = CsName; target.CsType = CsType; target.MapType = MapType; target.DbField = DbField; target.DbNestedField = DbNestedField; target.Consturctor = Consturctor; LocalEachCopyChilds(Childs, target.Childs); target.Table = Table; target.IsEntity = IsEntity; target.IsDefaultCtor = IsDefaultCtor; target.IncludeManyKey = IncludeManyKey; void LocalEachCopyChilds(List <ReadAnonymousTypeInfo> from, List <ReadAnonymousTypeInfo> to) { foreach (var fromChild in from) { var toChild = new ReadAnonymousTypeInfo(); fromChild.CopyTo(toChild); to.Add(toChild); } } }
public void CopyTo(ReadAnonymousTypeInfo target) { target.Property = Property; target.CsName = CsName; target.CsType = CsType; target.MapType = MapType; target.DbField = DbField; target.Consturctor = Consturctor; target.Childs = Childs; target.Table = Table; target.IsEntity = IsEntity; target.IsDefaultCtor = IsDefaultCtor; }
public ReadAnonymousTypeOtherInfo(string field, ReadAnonymousTypeInfo read, List <object> retlist) { this.field = field; this.read = read; this.retlist = retlist; }
public ReadAnonymousTypeAfInfo(ReadAnonymousTypeInfo map, string field) { this.map = map; this.field = field; }