It is possible, but you get into a situations where you have a two lines property, and six lines of attributes.
Use NHibernate directly, it is supposed to be able to handle it properly.
At the moment, NHibernate can't work with SP, support for CUD SP is planned, but I'm not sure what the status is, Hibernate 3 has it, so it should be straightforward to port if you really need it.
There _is_ support for custom persisters in NHibernate, I took a look at this several times, but it is a 55 Methods interface, and it has to be just right for it to work, so I wouldn't suggest going this way.
On 6/12/06, Craig Neuwirt <[EMAIL PROTECTED]> wrote:
I am converting and expanding an existing monlithic ASP/_vbscript_ application into a structured Web App using Monorail with ASP.NET 2.0. I would like to create an ActiveRecord domain model. However, the existing app uses a set of tables that do not represent the domain AT ALL. Stored Procedures are used to access and update the tables. Eventually, I will replace the database schema, but for now I need to live with it. As such, I would like to use ActiveRecord in my controllers. Is this possible? Can ActiveRecord interact with the database in a custom way? Can NHibernates support for custom persisters work? Does NHibernate 1.2 make this task possible or easier?Thanks,craig
_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users
_______________________________________________ CastleProject-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/castleproject-users
