I need some assistance with this error message that I am getting.Basically, I am developing a dynamic reporting class library using C# .NET and NHibernate.
I have an object graph like this. I would like to dynamically build fetch expression in Linq to NHibernate so that I get all object graph in one SQL call,
I have a repository interface which defines the following method: IEnumerable<T> GetMany(Expression<Func<T, bool>> where);
With NHibernate, how does one reliably check that a given entity is transient (i.e. hasn\'t been persisted yet)?The resources I have seen recommend something similar to this:
I am using all the dlls from the standard fluent nhibernate download, as well as the standard sqlite dll.
There\'s sooo much literature about fetching and eager loading when doing the actual query using .Fetch
Given this: namespace TheEntities { [DataContract(IsReference=true)] public class Question { [DataMember] public virtual int QuestionId { get; set; }
I have the following classes and tables, I want to find out how to map it in Fluent Nhibernate: class File
I\'ve got class, let it be Foo: public class Foo { ... protected MyCollection<Detail> _details public virtual MyCollection<Detail> Details
Documentation on NHibernate cascade settings, discusses the settings in the context of calling the Save() Update() and Delete() methods.But I can find no discussion of cascade behavior in the context