mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- 修复 */表达式解析问题;#1836
This commit is contained in:
@ -619,6 +619,14 @@ namespace base_entity
|
||||
BaseEntity.Initialization(fsql, () => _asyncUow.Value);
|
||||
#endregion
|
||||
|
||||
var sqlt001 = fsql.Select<User1>()
|
||||
.Where(u => u.Id == Guid.Empty)
|
||||
.ToSql(u => u.GroupId / (u.Sort * 60));
|
||||
|
||||
sqlt001 = fsql.Select<User1>()
|
||||
.Where(u => u.Id == Guid.Empty)
|
||||
.ToSql(u => u.GroupId - (u.Sort + 2));
|
||||
|
||||
var enumToString = fsql.Select<JoinTest01>().First(s => new
|
||||
{
|
||||
State = ((int)s.JoinTest01Enum2).ToString()
|
||||
|
Reference in New Issue
Block a user