Information générale
Catégorie:
Windows Communication Foundation (WCF)
Versions des environnements
Network:
Windows 2000 Server
>I'm basically accessing SQL sp's from my WCF service using ADO.NET then populating custom classes using a DataReader, which I then return to the clients ( Winforms and MVC ) as IEnumerable collections.
Then Craig's suggestion to use EF sounds good. Takes away the need to create the collection by spinning thru the datareader - EF will supply them direct.
Précédent
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