Skip to content

.From<T2>.GroupBy Item2 以上元组报错 #63

Closed
@2881099

Description

@2881099

具体表现为,代码:

var testgrpsql = g.sqlite.Select<TaskBuild>()
	.From<Templates>((a, b) => a.InnerJoin(aa => aa.TemplatesId == b.Id2))
	.GroupBy((a, b) => b.Code)
	.ToSql(a => new {
		 a.Key,
		 sss = a.Sum(a.Value.Item1.Id),
		 sss2 = a.Sum(a.Value.Item2.Id2)
	 });

错误:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions