You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using ColumnsModelInfo, ColumnModelInfo, TableModelInfo or RawSqlString object in raw SQL string increments local (scoped to that raw SQL string) parameter name index counter, although no parameter is generated. If it is followed by another local parameter, that parameter will have name, that will collide with potential parameters added later in different clauses.
For example:
Dimresult=db.From(OfArticle).Join(OfLabel)($"(SELECT {Sql.Model.Columns(Of Label)} FROM LabelArchive WHERE Language = {lang})").On(Function(a,l)a.Id=l.Id).Where(Function(a,l)a.Price<=maxPrice).SelectAll().ToList()' lang -> @p1, but should be @p0' maxPrice -> @p1
The text was updated successfully, but these errors were encountered:
Using
ColumnsModelInfo
,ColumnModelInfo
,TableModelInfo
orRawSqlString
object in raw SQL string increments local (scoped to that raw SQL string) parameter name index counter, although no parameter is generated. If it is followed by another local parameter, that parameter will have name, that will collide with potential parameters added later in different clauses.For example:
The text was updated successfully, but these errors were encountered: