One bind parameter with the database type of the column it is compared with, such as
varchar(50) or datetime2(7). Statements reference it by the placeholder the dialect's
binding gives (DialectBinding.TypedParameter): SQL Server providers bind it by name with that
declared type, so a varchar column is compared with a varchar value and keeps its index seek;
PostgreSQL providers bind it by position, and the placeholder casts it.
One bind parameter with the database type of the column it is compared with, such as
varchar(50)ordatetime2(7). Statements reference it by the placeholder the dialect's binding gives (DialectBinding.TypedParameter): SQL Server providers bind it by name with that declared type, so a varchar column is compared with a varchar value and keeps its index seek; PostgreSQL providers bind it by position, and the placeholder casts it.