This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello all, also I am an happy existing user of lightspeed, we are evaluating the Nhibernate designer. For using DataBinding features we need to implement the INotiyPropertyChanged interface. How could the code be generated automatically? Are there templates which can be adapted by the user? Or is there another way? Best regards Markus PS: Can LS and NHibernateDesigner be bundled? |
|
|
Yes, you can edit the code generation templates and we can provide guidance on this is that is the way you want to go. However, implementing INotifyPropertyChanged on your entity types makes the NHibernate gods angry. They advise that you should instead create an interceptor (or possibly a ProxyFactoryFactory) that automagically implements it on the NHibernate proxy types that NHibernate derives from your entity types. Here are some resources on that:
Regarding bundling, the NHibernate Designer and LightSpeed are both part of the Mindscape MegaPack, which also includes all our other products and any new products we release during the year. See http://www.mindscapehq.com/products/megapack for details. We don't have a bundle containing just the data products. |
|
|
Thanks for your reply. Yes, you are right - this would make the nhibernate gods angry :) Working with the proxy would be a nice solution. Right now I understand the concept of it, but how to implement ... I have to look a bit deeper in the examples. Maybe this would be a very nice feature for your NHibernate Designer. btw: the nhibernate designer of Devart has implemented the "anry" version :) Bye Markus |
|