How to integrate the library with SubSonic

Topics: Developer Forum
Nov 17, 2007 at 6:29 AM
Hi,

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 asp.net.

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

This shouldn't be a problem, Maniish.

Subsonic (www.subsonicproject.com) 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.