How to integrate the library with SubSonic

Topics: Developer Forum
Nov 17, 2007 at 7:29 AM

I am using subsonic for generating the business objects. Now the question is if i put the validation there and need to regenerate the layer, i could not do it. Instead of that, if i used this library, i need to manually apply all the database changes in the business objects.

Also, if i integrate the same with the subsonic, next step would be to how to use in

could you please guide on the same.
Nov 18, 2007 at 5:19 AM
I am not familiar with subsonic.
Could you please post up an unmodified file that subsonic has generated.
Jan 8, 2008 at 11:10 PM

This shouldn't be a problem, Maniish.

Subsonic ( creates partial classes as the generated code. So all you need to do is extend those classes by creating your own partial classes in the same namespace (different physical files). Your code will not be overwritten when re-generating the business objects after your data schema has changed.