Use a stored proc.
On May 28, 6:59 am, ian <[email protected]> wrote:
> How do we go about doing
>
> insert into table(...) values() on duplicate key update ...
>
> ?
>
> I assume this can't be done by SaveOrUpdate because it doesn't update
> even if I assign the Id property. Anyone help? Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---