I’ve created an application (using c# winforms) in which I’m managing item sheets such books, music and movie dvds, games, etc. Those sheets contain basic information such title, synopsis, author, etc. There are even images (full-size + thumbnail).
So now I’m entering the stage of development where I need to save all the changes and load them again when I re-open the application. It’s the first time I’m doing this kind of operation so I’m unsure of the best ways to do this.
So how do we save/load a database in a C# winform application? Are there best or faster methods than others?
Any link to tutorials would be greatly appreciated, I haven’t found any valuable ones on my own, or the ones I’ve found dealt with Web applications.
Thank you!
Microsoft Entity Framework is the way to go.
I’d suggest to pay close attention to CodeFirst feature of EF because you have an application but don’t have a DB yet. Here is Tutorial: Code First with EF 4.1