jeffreygg wrote:
Otis wrote:
All that it will use an upgrade of the current designer (thus not a complete new designer) and the runtime code for .NET 2.0 will be a single codebase with selfservicing being a wrapper around adapter. (i.e. internally it uses a single adapter or per context a single adapter).
Awesome! Since we're on the subject of Self-servicing vs Adapter, I was curious...is it possible to get a Self-Servicing to Adapter code converter?
No, that's impossible.
Not that it is hard to convert the code, it's hard to create a C#/VB.NET parser which converts that code.
The other question was whether when you "combine" Self-Servicing with Adapter whether you'll also be able to eliminate having to maintain 2 entity types, 2 collections, 2 EntityType enums, etc...
Most of the templates now is not that complex, maintaining it is not the hard part, the main issue is below the surface, in the runtime libraries. Now the 2 paradigms share very little code, and with having adapter as the base and selfservicing a wrapper around adapter, it will be a different scenario. In fact, I hope to have adapter's code almost all in the runtime lib and selfservicing just a little bit of template work, but not much.
I'll definitely keep the two paradigms, as they're so different from each other, in philosophy, that dropping one in favor of the other would be a loss.
Also due to the partial classes, two-class scenario configs will be unnecessary and due to generics I hope to move as much code to the runtime libs as possible
mmmm.....generics....
Is it possible/advisable to get some sort of continuous integration? ie., if I add an entity via the designer (preferably in VS), the code is auto-updated/generated... this would be very nice for things like typed lists, too...
Jeff...
Although in theory there is a point of having them, I don't think in this particular situation it's what you want. The main reason is that it isn't a wordprocessor we're dealing with, but a complex system which requires a sequence of actions before the user will say: "yes, this is what I wanted" and hits save/generate. So before that point is reached, it's not that efficient to start some output action along the way to that point, IMHO. Also because code generation is not free: it takes time to generate code, and the more entities, the more time it takes.