devnet wrote:
Can they handle stored Procedures with Temporary Table and Dinamic sql inside them?
It doesn't matter what the Stored Procedure does, NHibernate will just execute it for you.
You're not really using NHibernate when you're running stored procedures. You just use the connection that NHibernate has got. All I do is this (where 'Session' is a property to get my ISession object)
IDbConnection connection = Session.Connection;
IDbCommand command = connection.CreateCommand();
Session.Transaction.Enlist(command);
command.CommandType = CommandType.StoredProcedure;
command.CommandText = "spDeleteSomething";
command.ExecuteNonQuery();