This commit is contained in:
2881099
2024-06-27 15:39:36 +08:00
parent 8af2acea17
commit d08a9370e7
35 changed files with 55 additions and 33 deletions

View File

@ -619,6 +619,10 @@ namespace base_entity
BaseEntity.Initialization(fsql, () => _asyncUow.Value);
#endregion
fsql.Select<Account>().As("aaa").Where(p => p.ID == 1).AsQueryable().Distinct().Select(p => new { p.Name, p.ID }).Count();
var sqlt001 = fsql.Select<User1>()
.Where(u => u.Id == Guid.Empty)
.ToSql(u => u.GroupId / (u.Sort * 60));
@ -3266,4 +3270,13 @@ public partial class ProjectItem
}
[Table(Name = "t_account")]
public class Account
{
[Column(Name = "FID")]
public int ID { get; set; }
[Column(Name = "FName")]
public string Name { get; set; }
}