Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

VB.netでのQueryBuilderのSelectが正しく動作しない #55

Closed
nimueru32507 opened this issue Nov 6, 2020 · 2 comments
Closed
Assignees

Comments

@nimueru32507
Copy link

内容

VB.netで使用した場合に、SQLのSelectでカラムが表示されません。
そもそもVB.netには、対応していないのでしょうか。

Dim builder = New QueryBuilder(Of User)(DbProvider.SqlServer)
builder.Select(Function(x) New With{x.Id})
var sql = builder.Build().Statement
Console.WriteLine(sql)

結果

selec
from [dbo].[User]

@xin9le xin9le self-assigned this Nov 7, 2020
xin9le added a commit that referenced this issue Nov 8, 2020
@xin9le
Copy link
Owner

xin9le commented Nov 8, 2020

VB.NET のラムダ式から生成される Expression Tree が C# で生成されるものと異なっていたので、VB.NET のものでも解釈できるように改善しました。
v1.2.10 をリリースしたので、試してみてください。

@xin9le xin9le closed this as completed Nov 8, 2020
@nimueru32507
Copy link
Author

正常に動作することを確認しました。
早速のご対応ありがとうございます。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants