Versions des environnements
Network:
Windows 2003 Server
>>What is contained in oGeneric.GetClients? If it is a collection of ClientAPI.ClientService.Client then do you have a good reason to create a new instance of the type rather than just selecting the existing instance ?
>
>The idea of this change was to satisfy a requirement of a foreign provider to only query certain fields instead of the entire record. As the declarations have to remain as is, this is why I had to make sure the returned object would be exactly the same as what was already declared.
Not sure I understand. You are still creating an instance of ClientAPI.ClientService.Client and all of its fields will be present. The only difference is that everything other than FirstName and LastName will have default values.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement