Entity Framework Core code samples for moving away from conventional data operations

Spending years in various forums answering questions what is surprising is Windows Form developers (both newcomers and season coders) are still using TableAdapter, DataAdapter or connection and command objects to interact with databases. A case may be made for each of these but they are not going to work well when considering cross platform, web solutions and in general rich user interfaces.

When the chance presents itself I will suggest trying EF or EF Core and the response typically is something along the lines of "I'm just building a simple application" or similar response then sometime later that simple application has grown considerably and now warrants looking at EF or EF Core. In many cases it's too late or they just want to get the application done quickly.

So over the past year I've been writing code samples to target Windows Forms developers. The downside is limited time to have a well rounded set of code samples. The goal is to start out simple with common operations covered then move to various design patterns which can then offer moving to WPF and cross platform solutions.

The following GitHub repository is the home of these C# code samples, as mentioned this is just the start. Also have another repository which is part of the goal to work developers into EF Core.

The database used is a updated version of Microsoft NorthWind database which over time will be modified as needed while currently the tables are broken out more then the original and several important keys and indexes have been added.




Comments

Popular posts from this blog

VB.NET Working with Delegate and Events

Coders asking questions in online forums

Sometimes VB.NET coders make me wonder (or crazy)