Hi all,
I am new in Nhibernate. I have downloaded
WilsonNHibernateExample It is working well when I set English in Regional Options ( WinXP Pro ).
However If my Regional options is Turkish, I got this error:
Code:
Message: Could not find field 'ıd' in class 'Wilson.NHibernate.Example.Phone'
Source: NHibernate
StackTrace: at NHibernate.Property.FieldAccessor.GetField(Type type, String fieldName, Type originalType) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Property\FieldAccessor.cs:line 92
at NHibernate.Property.FieldAccessor.GetField(Type type, String fieldName, Type originalType) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Property\FieldAccessor.cs:line 99
at NHibernate.Property.FieldAccessor.GetField(Type type, String fieldName, Type originalType) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Property\FieldAccessor.cs:line 99
at NHibernate.Property.FieldAccessor.GetField(Type type, String fieldName) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Property\FieldAccessor.cs:line 118
at NHibernate.Property.NoSetterAccessor.GetSetter(Type type, String propertyName) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Property\NoSetterAccessor.cs:line 68
at NHibernate.Mapping.Property.GetSetter(Type clazz) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Mapping\Property.cs:line 199
at NHibernate.Persister.AbstractEntityPersister..ctor(PersistentClass model, ISessionFactoryImplementor factory) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Persister\AbstractEntityPersister.cs:line 637
at NHibernate.Persister.EntityPersister..ctor(PersistentClass model, ISessionFactoryImplementor factory) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Persister\EntityPersister.cs:line 930
at NHibernate.Persister.PersisterFactory.CreateClassPersister(PersistentClass model, ISessionFactoryImplementor factory) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Persister\PersisterFactory.cs:line 40
at NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, Settings settings) in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Impl\SessionFactoryImpl.cs:line 145
at NHibernate.Cfg.Configuration.BuildSessionFactory() in C:\nHibernate\nhibernate-1.0.0.0\src\NHibernate\Cfg\Configuration.cs:line 888
at Wilson.NHibernate.Example.Global.Main() in c:\nhibernate\wilsonnhibernateexample\wilsonnhibernateexample\global.cs:line 28
I think error is related with Nhibernate. How can I fix this error?
Thanks for advance.