larry-noriega / EFCoreSQLite.Entities.Relations

Relational databases use, have foreign keys; C# has collections or entities: How can the two be reconciled?

Repository from Github https://github.comlarry-noriega/EFCoreSQLite.Entities.RelationsRepository from Github https://github.comlarry-noriega/EFCoreSQLite.Entities.Relations

EFCoreSQLite.Entities.Relationship

Relational databases use, have foreign keys; C# has collections or entities: How can the two be reconciled? (Hint: Use EF Core).

A .NET Core console app that performs data access against a SQLite database using Entity Framework Core.

Requirements

  1. Use Visual Studio Community
  2. Use DB Browser for SQLite to inspect the database.
  3. Execute the solution file .sln

Details

  • One to One relationship.
  • One to Many relationship.
  • Many to Many relationship.

Further information - Microsoft Docs:

About

Relational databases use, have foreign keys; C# has collections or entities: How can the two be reconciled?

License:MIT License


Languages

Language:C# 100.0%