mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 02:32:50 +08:00
AggregateRootRepository
This commit is contained in:
parent
a590b8aa7b
commit
d5024068a1
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user