SubSonic Forums
All Your Database Are Belong To Us

WHERE vs WhereEwpression in Query ou Select expression

Latest post 10-26-2008 4:25 PM by spookytooth. 1 replies.
  • 10-26-2008 1:48 PM

    WHERE vs WhereEwpression in Query ou Select expression

    Hi all,

    Can someone tell me wath is the main difference beetween WHERE and WhereEwpression when writing Query ?

    SubSonic.SqlQuery sql = new Select().From(PREV331R.Schema).Where(PREV331R.Columns.Idprev101e).IsEqualTo(clespace.Value);

    or

    SubSonic.SqlQuery sql = new Select().From(PREV331R.Schema).WhereBLOCKED EXPRESSION;

    Whath is the correct one ?

    Thank's

    G.

     

  • 10-26-2008 4:25 PM In reply to

    Re: WHERE vs WhereEwpression in Query ou Select expression

     a WhereExpression allows you to enter a string - like "Thing=1" and we parse it into a proper argument with parameters.

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!

Page 1 of 1 (2 items) | RSS