hello

in my application i know the model at runtime
all my poco's are in some dd (Model.dll)
if i add refrence from the current project to the model project everything
works fine
if i do not reference the Model project, i get the "No persister for:"

the Model.dll will be changed (POCOs can be added and removed)
to obtain the hbm's i use a modified version of Castle's ActiveRecord

SessionFactory.Instance.LoadAssembly(assembly);  <-- the dynamicaly loaded
assembly (Domain.Load)
SessionFactory.Instance.BuildSessionFactory();
SessionFactory.Instance.CreateSession();

Type SelectedType
object o = SetTypeProperties(SelectedType);
session.Save(o); <-- here i get "No persister for: Obiect"

any idea?

thank you

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
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