Hi, I want to execute script file on my database using fluent nhibernate. Can you tell me how can i achieve this? I have a file say "myScript.sql" on my c drive, which i want to execute against my oracle database.
Thanks in advance, Ashish
Hi, I want to execute script file on my database using fluent nhibernate. Can you tell me how can i achieve this? I have a file say "myScript.sql" on my c drive, which i want to execute against my oracle database.
Thanks in advance, Ashish
You can't execute anything using Fluent - it's simply a convenient way of generating mappings for NHibernate. You can execute a SQL script using NHibernate as a named query if it is known up front and compiled into the mappings.