Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LinqToSql And Silverlight
Message
De
28/10/2010 14:24:22
 
 
À
28/10/2010 11:17:30
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
01486268
Message ID:
01487415
Vues:
44
>>Don't both parts have to have the partial modifier? Although I suppose it would be possible to add the modifier to the generated class.
>
>Yeah, you're right, my bad ... but adding just the partial modifier to the generated class wouldn't be that much of a burden.
>
>Actually, looking at this a little closer, I see that all the 'metadata' classes are declared as partial and those are the ones that are most likely to need extending.....
>
>Ah ... so no problem then (I've not used that stuff, nor even looked at it, so take what I say with a grain of salt <g>).

I'm working on one of those things where the DB gets designed as we go along. I've probably made half a dozen changes to the SQL database today and each involved updating the edmx - which in turn involved updating the DomainService. I'm getting the hang of it and (most of the time) have been able to just hack the DomainService to bring it into sync.

Couple of things with enums and generated code have been driving me nuts. But Onwards and -well just Onwards I suppose (g)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform