Yogesh
Yogesh

Reputation: 14608

Subsonic 3: Update<T> problem

I am using SS 3.0.0.3 ActiveRecord. This query:

new Update<BillDetail>(provider)
    .Set(bd => bd.DivisionDetails == divisionDetails)
    .Where(bd => bd.BillNumber == documentId && bd.IsInvoice == true);

produces this SQL:

UPDATE `BillDetails` 
 SET `DivisionDetails`=@up_DivisionDetails
 WHERE `BillNumber` = @0

Where did the IsInvoice part go? Am I doing something wrong here?

Upvotes: 1

Views: 572

Answers (2)

Yogesh
Yogesh

Reputation: 14608

Finally fixed in 3.0.0.4.

Upvotes: 0

user1151
user1151

Reputation:

Had this problem in previous releases but it was fixed - you sure you're using 3.0.0.3?

Upvotes: 2

Related Questions