It should be easy, but I canβt figure out how to understand it ... How can I check if a child of an entity exists without actually getting or receiving it? Baby lazy loaded right now.
so I have two objects:
class A { public virtual int Id { get; set; } public virtual B Child { get; set; } } class B { public virtual int Id { get; set; } public virtual byte[] Blob { get; set; } }
I want to check if B exists in instance A without actually getting a big blog ... In direct sql, I could just check if child_id is null ... Is there a way I can request NHibernate Proxy of B in A?
Thanks!
proxy nhibernate parent-child lazy-loading fluent-nhibernate
Justin
source share