Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deserialization
Message
De
25/09/2008 12:26:19
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Programmation orienté objet
Titre:
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01350589
Message ID:
01350631
Vues:
18
>>I get an Entity that has all the needed attributes to be known by the framwork and is able to be saved by the framework. So if I create an entity this way and then hydrate it by calling xml.Deserialize() do I still have the entity I started with?
>
>Sounds like a great philosophical question ;-)
>
>No, it constructs a new object.

Guess it won't work then. I tried to create the object by deserializing first and then find a way to make it framework aware, but couldn't find anything suitable. I may have to just build all the pieces manually so it can be saved. There is a ReadXmlToDataSet method, but not a ReadXmlToEntity.
Thanks Paul
Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform