https://github.com/zg3z/code-first-approach
https://github.com/zg3z/code-first-approach
code-first crud csharp database-migrations entity-framework-core mssql
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zg3z/code-first-approach
- Owner: ZG3Z
- Created: 2022-07-29T20:26:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-29T15:07:30.000Z (almost 3 years ago)
- Last Synced: 2025-01-13T09:35:54.353Z (about 1 year ago)
- Topics: code-first, crud, csharp, database-migrations, entity-framework-core, mssql
- Language: C#
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Code first approach
* [Introduction](#introduction)
* [Model (ER)](#model)
* [Methods used](#methods-used)
* [Technologies used](#technologies-used)
## Introduction
Code First Modeling creates a database that does not exist or adds new tables to an empty database.
## Model

## Methods used
* Database with sample data implemented with Entity Framework Core version.
* GET request containing information about the specified album. Returned the JSON object contains a list of the songs on it. Album ID is assumed as a parameter. Data does not include performers who participated in creating the song. The list is sorted in ascending order by song duration. The response contains the appropriate error status.
* DELETE request, which will allow you to delete the specified music. Music can only be removed if he participates in the creation of tracks that have not yet appeared on the target albums. In otherwise, stop processing the request and inform the user with the relevant error code. Removal is done without using cascade constraints.
## Technologies used
* Web API / REST
* DTO
* Entity Framework Core
* Microsoft SQL Server