I have a Device class that I have defined that has 2 properties, LocalConnection and Connection, that are of the same defined class, Connection.
What will be the equivalent of following SQL statement in Linq? I\'m specifically looking on how to replace CASE statements in Linq expression.
I am having some trouble getting a List of one of my classes that is stored within another class. I have a Class Intersection which is of a base type device that contains a List of Zones, another cla
This is a asp.net MVC 3 application using nhibernate. In my proje1.Data assembly I have all my nhibernate related code, and that also includes a HTTPmodule that handles the session.
FluentConfigurationException was unhandled An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail.
I have a case where I need to load about 10 000 objects from database. The data model is something like this:
I have a fairly simple piece of code that retrieves an object from the DB.This seems to work fine with SQL Server 2008, but blows up with SQL Server Compact.SQL Server CE supports TOP() - is this just
I\'m looking for an example of how I would/should use the SqlUpdate, SqlDelete, and SqlInsert parts of Fluent NHibernate in my mappings.
i have the following scenario public abstract class BaseClass { public virtual int Id {get; set}; public virtual string Name {get; set;}
this code public IList<Patient> GetByMRNNameDOB(Patient patient) { using (ISession session = SessionManager.Current.OpenSession())