On Apr 28, 4:44 pm, Marc Gravell <marc.grav...@gmail.comwrote:
Sorry - I forgot to say; to investigate how to link to stored
procedures, the easiest option is to edit a test file via the designer
and see what it does to the .dbml file.
Hi,
I've been looking at the code the designer generates. I know what it
does to use SPs instead of direct updates, but I was hoping that
there'd be some way to automate all of that work. It basically
amounts to a private method with a specific name / signature, which in
turn calls whatever stored proc. There's some trickery to it though,
since you can't pass value types by reference and so temp variables
are declared and used to manually copy the values back and forth.
I guess there's nothing right now to easily automate what I want...
I'll have to think of something.
Thanks
Andy