Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Azure-Samples/azure-sql-db-dynamic-schema-ef
Samples on how efficiently to handle dynamic schemas in Azure SQL using EF Core
https://github.com/Azure-Samples/azure-sql-db-dynamic-schema-ef
Last synced: 3 months ago
JSON representation
Samples on how efficiently to handle dynamic schemas in Azure SQL using EF Core
- Host: GitHub
- URL: https://github.com/Azure-Samples/azure-sql-db-dynamic-schema-ef
- Owner: Azure-Samples
- License: mit
- Created: 2024-02-29T17:53:35.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-03-05T18:13:03.000Z (12 months ago)
- Last Synced: 2024-08-03T17:11:10.397Z (7 months ago)
- Language: C#
- Size: 23.4 KB
- Stars: 2
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-azure-sql - Dynamic Schema Management With Azure SQL and Entity Framework
README
---
page_type: sample
languages:
- tsql
- sql
- csharp
products:
- azure-sql-database
- dotnet
- ef-core
- sql-server
description: "Dynamic Schema Management With Azure SQL and Entity Framework "
---# Dynamic Schema Management With Azure SQL and Entity Framework

A sample project that shows how to deal with dynamic schema in Azure SQL, using the native JSON support and Entity Framework Core. This repo is a variation of the "hybrid" sample discussed and shown in the
https://github.com/azure-samples/azure-sql-db-dynamic-schema
repository, but using Entity Framework Core instead of Dapper. Since EF Core 7, in fact, it is now possible to let the framework handle the serialization and deserialization of an object into a JSON column, making the code much cleaner and easier to maintain:
https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-7.0/whatsnew#json-columns