Can we execute a script file with a database using free Nhibernate?

I want to execute a script file in my database using free nhibernate. Can you tell me how I can achieve this? I have a file "myScript.sql" on my c drive that I want to execute in my oracle database .

Thanks in advance, Ashish

+3
source share
2 answers

You can't use anything with Fluent - it's just a convenient way to generate mappings for NHibernate. You can execute the SQL script using NHibernate as a named query if it is known in front and compiled into mappings.

+3
source

:(+)

0

Source: https://habr.com/ru/post/1727614/


All Articles