I am using strongly-typed-dataset as an ORM to wrap around my Microsoft Access database, now I am looking for a way to create an equivalent of
UPDATE table1 SET table1.nationality = 'england'
WHERE table1.nationality in
(
select table2.nationality from table2
where table2.gender ='M'
);
in a strongly typed dataset designer, but not sure this is possible or not.
If this is not possible, what is the best way to accomplish this task? I am avoiding
- Hand-code SQL
- Store Proc
as much as I can.
Edit: I am not saying that hand-code SQL is not permissable, just that it's not desirable. The same goes for Store Proc