/// <summary> /// 返回一个多表查询筛选器. /// </summary> /// <typeparam name="TEntityAgent">实体的查询代理类型.</typeparam> /// <returns></returns> public MultiQuerySelector From <TEntityAgent>() where TEntityAgent : EntityAgent, new() { MultiQuerySelector multiQuery = new MultiQuerySelector(ReadEngine); multiQuery.From <TEntityAgent>(); return(multiQuery); }
/// <summary> /// /// </summary> /// <param name="owner"></param> /// <param name="leftJion"></param> /// <param name="getAgent"></param> internal EntityJoinSelector(MultiQuerySelector owner, LeftJoinDescription leftJion, Func <Type, EntityAgent> getAgent) { _Owner = owner; LeftJion = leftJion; GetTargetAgent = getAgent; }