I have seen several people searching for this that have reached my site. The thought of getting the best of both SubSonic and CSLA.NET worlds has started to intrigue me. I previous took the Subsonic templates for granted but I have spent a lot of time modifying my CSLA.NET templates and the framework. So I am going to follow these steps to figure out how possible it was and if it really makes sense once it is done.
1. Research the subsonic templates. I haven’t looked at these much so I’m going to look through these to find comparisons and the differences between my CSLA.NET templates
2. Since I obviously can’t inherit from both ActiveList/ActiveRecord and BindingListBase and BindingBase, I have to figure out what the hierarchy should be. I am suspecting that there is a lot of common code between the two, especially when it comes to the binding and implementing the IList, IBindingLIst, etc interfaces.
3. Once I have the framework ready for my template, I am going to take the VB_ClassTemplate and modify it to include both references and inherit from the new base.
I should be able to have some stuff figured out over the weekend. I’ll post the results and some downloads. Feel free to send me your thoughts on what you think the hybrid templates should look like.
Code Smart Not Hard
-Mike