Sorry - premature send.

On Tue, Jan 13, 2009 at 10:23 PM, josh robb <[email protected]> wrote:
> On Fri, Jan 9, 2009 at 5:37 PM, Scott <[email protected]> wrote:
>> I've used a native SQL query or two for selection in the past, but it
>> was my understanding that the native SQL queries were for querying
>> only (e.g., not updating). Am I mistaken? Is there a link you
>> recommend with lessons on using native SQL queries to update data?
>
> himm...

Yep - wasn't thinking clearly - I have no idea what would happen if
the query didn't return any results.

Dynamic-update looks like it solves this problem nicely - but to
finish off this train of thought - If for whatever reason
dynamic-update didn't suit my scenario - I'd probably just use
ISession.Connection to grab the IDBConnection and execute a new
Command against the underlying DB.

j.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" 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/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to