Sql.Net Class Library Documentation

SqlExpression.Parameter Method 

Create a parameter placeholder.

public static SqlExpression Parameter(
   string paramName



Return Value


Correct parameter name depends on your specifc data provider. OLEDB expects all parameters to be '?' and matches parameters to values based on their index. SQL Server Native driver matches parameters by names and expects to find "@paramName" parameter placeholder in the query.

See Also

SqlExpression Class | Reeb.SqlOM Namespace