AggregateRootRepository

This commit is contained in:
2881099 2022-09-03 20:23:54 +08:00
parent a590b8aa7b
commit d5024068a1
2 changed files with 4 additions and 14 deletions

View File

@ -1,17 +1,5 @@
using FreeSql; using System;
using FreeSql.Extensions.EntityUtil;
using FreeSql.Internal;
using FreeSql.Internal.CommonProvider;
using FreeSql.Internal.Model;
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace FreeSql.Internal.Model namespace FreeSql.Internal.Model
{ {

View File

@ -137,7 +137,9 @@ namespace FreeSql
public virtual ISelect<TEntity> Select => SelectAggregateRoot; public virtual ISelect<TEntity> Select => SelectAggregateRoot;
/// <summary> /// <summary>
/// 创建查询对象(纯净)<para></para> /// 创建查询对象(纯净)<para></para>
/// 聚合根内关系较复杂时AggregateRootUtils.GetAutoIncludeQueryStaicCode(fsql, typeof(Order)) 可以获得边界以内自动包含 Include/IncludeMany 代码字符串 /// _<para></para>
/// 聚合根内关系较复杂时,获取 Include/IncludeMany 字符串代码,方便二次开发<para></para>
/// string code = AggregateRootUtils.GetAutoIncludeQueryStaicCode(fsql, typeof(Order))
/// </summary> /// </summary>
protected ISelect<TEntity> SelectDiy => _repository.Select; protected ISelect<TEntity> SelectDiy => _repository.Select;
/// <summary> /// <summary>