I started converting VS.Net 2005 C# project to VS.Net 2010. This project 
also using NHibernate 1.2.0.4000 and Castle.DynamicProxy.dll 1.1.5.0 
(properties -> description: Castle.DynamicProxy for Microsoft .NET 
Framework 2.0) and MS Access database.

Project seems to be converted just fine. But, when I run application, query 
is returning null for internal class mapping objects. For example,

    public Class FruitShop
    {

    protected string _shopName;
    protected string _apple;
    protected string _orange;

    public virtual Apple Apple  
    {
    get { return _apple; }
    set { _apple = value; }
    }

    public virtual Orange Orange
    {
     get { return _apple; }
     set { _apple = value; }
    }

    }


Based on above example, query returns values only for class internal 
members (_shopName), I see null for mapping class objects (Orange, & 
Apple). This is working fine with VS.Net 2005. I’m thinking, may be VS.Net 
2010 doesn’t support Nhiberante 1.x. 

If I upgrade to latest version Nhiberante, what are the change that should 
be added in my project? Also, Castle.DynamicProxy.dll description says its 
generated for .net framework 2.0. How do I generate one for .Net v4.0? 

Would this fix the issue that I have with my project or it is different 
issue than what I’m looking into?

Appreciate your help in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/9OSiVA5cdPYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to