- 优化 RereadSql 支持表的其他字段使用;#1655

This commit is contained in:
2881099
2023-11-02 10:30:13 +08:00
parent 448b25c479
commit 7115b68871
5 changed files with 57 additions and 1 deletions

View File

@ -126,6 +126,7 @@ namespace FreeSql.DataAnnotations
/// <summary>
/// 重读功能<para></para>
/// 比如:[Column(RereadSql = &quot;{0}.STAsText()&quot;)]<para></para>
/// 或者:[Column(RereadSql = &quot;{geo}.STAsText()&quot;)]<para></para>
/// 查询SELECT a.[id], a.[geo].STAsText() FROM [table] a
/// </summary>
public string RereadSql { get; set; }

View File

@ -206,6 +206,7 @@ namespace FreeSql.DataAnnotations
/// <summary>
/// 重读功能<para></para>
/// 比如:[Column(RereadSql = &quot;{0}.STAsText()&quot;)]<para></para>
/// 或者:[Column(RereadSql = &quot;{geo}.STAsText()&quot;)]<para></para>
/// 查询SELECT a.[id], a.[geo].STAsText() FROM [table] a
/// </summary>
/// <param name="value"></param>