We\'re building a WPF application, using Oracle database, also using NHibernate and uNHAddins extensions. In a DataGrid, we\'re trying to get values from a table, with this query LINQ:
So I went through the asp.net mvc tutorial for castle windsor, and my registrations look like: private static IWindsorContainer _container = new WindsorContainer();
My method has a parameter which will determine which column to perform a where filter on, so to make things generic I need to be able to perform some logic on which column I want to perform the where
I finally got this lazy session setup to work: http://nhforge.org/blogs/nhibernate/archive/2011/03/03/effective-nhibernate-session-management-for-web-apps.aspx
You know, to implement session-per-web-request in a web application we often create a session in Application_BeginRequest and close it in Application_EndRequest global event handlers. And then every t
How would you write t开发者_JAVA技巧he following using QueryOver (or CriteriaAPI for that matter)?
I\'m working with an existing database and can\'t change the schema.Lets say we sell widgets.Each order for widgets has an entry in the WidgetBase table with a key name开发者_Go百科d uid. Now, the spe
I made some classes that represents my messages logic: Message - representation of THE message :) MessageBoxBase - base class for all 3 kind of messagebox
I am using NHibernate 3.x, along with Fluent NHibernate, and have not had any issues constructing database queries until now.
I\'ve been developing a windows forms application in C# (.net framework 4) and trying to apply NHibernate for data access. Our team has some experience using nhibernate (like mappings, configuration a