In a tutorial from MSDN, I read about the serialization. It looks really powerful but I have some questions to define what is or is not the serialization.
Firstly, is that the serialization is right to associate with XML? By that I come from the fact that XML is finally a way to store information permanently after closing the software and then is that BDD can play the same role to serialize?
In fact, what I wonder is, for example, if you want to make software that manages customer and we want to have a BDD to store information in the long term.
What is the programming method to use? Is it must have a Client class with data members for all the information that is supposed to have a client in our application. And who would take over so the fields in the Customer table is in BDD ?
And when working on a client, it retrieves all the information in a new instance of class Customer. And in the end, we commend the information in the database?
Or you work directly in the database to query?
Is that the first option is the serialization itself or not? Is this is how we "must" program? Are there any mechanisms for just glue things in C#? Databinding?
Bookmarks