private void SetQueueOptions(QueueConsumerConfiguration obj, int orderId) { var SqlParam = new Npgsql.NpgsqlParameter("@OrderID", orderId); obj.AddUserParameter(SqlParam); obj.SetUserWhereClause("(q.OrderID = @OrderID)"); }
private void SetQueueOptions(QueueConsumerConfiguration obj, int orderId) { var SqlParam = new SqlParameter("@OrderID", SqlDbType.Int) { Value = orderId }; obj.AddUserParameter(SqlParam); obj.SetUserWhereClause("(OrderID = @OrderID)"); }