mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
- 优化 RereadSql 支持表的其他字段使用;#1655
This commit is contained in:
@ -126,6 +126,7 @@ namespace FreeSql.DataAnnotations
|
||||
/// <summary>
|
||||
/// 重读功能<para></para>
|
||||
/// 比如:[Column(RereadSql = "{0}.STAsText()")]<para></para>
|
||||
/// 或者:[Column(RereadSql = "{geo}.STAsText()")]<para></para>
|
||||
/// 查询:SELECT a.[id], a.[geo].STAsText() FROM [table] a
|
||||
/// </summary>
|
||||
public string RereadSql { get; set; }
|
||||
|
@ -206,6 +206,7 @@ namespace FreeSql.DataAnnotations
|
||||
/// <summary>
|
||||
/// 重读功能<para></para>
|
||||
/// 比如:[Column(RereadSql = "{0}.STAsText()")]<para></para>
|
||||
/// 或者:[Column(RereadSql = "{geo}.STAsText()")]<para></para>
|
||||
/// 查询:SELECT a.[id], a.[geo].STAsText() FROM [table] a
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
|
Reference in New Issue
Block a user