EfTableRelations
Get Table Relations via EfCore
Install / Use
/learn @mozcode/EfTableRelationsREADME
TableRelations Library
This project provides a C# library for analyzing and retrieving information about table relationships in a database using Entity Framework Core. The library allows you to extract information about the relationships between tables, including the type of relationship (e.g., One-to-One, One-to-Many), and details about the keys involved in these relationships.
Features
- Retrieve information about table relationships and related keys.
- Supports One-to-One and One-to-Many relationships.
- Generates hierarchical relationship structures with sub-joins.
- Easily integrate with existing .NET applications using Entity Framework Core.
Getting Started
Prerequisites
- .NET Core SDK 6.0 or higher
- Entity Framework Core 6.0 or higher
- A relational database supported by Entity Framework Core (e.g., SQL Server, PostgreSQL, MySQL)
Installation
You can include this library in your project by cloning the repository and adding it as a project reference:
