{"id":20135465,"url":"https://github.com/zg3z/code-first-approach","last_synced_at":"2026-04-17T08:04:51.697Z","repository":{"id":175707283,"uuid":"519341335","full_name":"ZG3Z/code-first-approach","owner":"ZG3Z","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-29T15:07:30.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T20:10:05.472Z","etag":null,"topics":["code-first","crud","csharp","database-migrations","entity-framework-core","mssql"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZG3Z.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-29T20:26:16.000Z","updated_at":"2024-11-25T21:38:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"733c6c3b-152d-4ab5-a7b2-64869d70af46","html_url":"https://github.com/ZG3Z/code-first-approach","commit_stats":null,"previous_names":["zg3z/code-first-approach"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ZG3Z/code-first-approach","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZG3Z%2Fcode-first-approach","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZG3Z%2Fcode-first-approach/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZG3Z%2Fcode-first-approach/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZG3Z%2Fcode-first-approach/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZG3Z","download_url":"https://codeload.github.com/ZG3Z/code-first-approach/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZG3Z%2Fcode-first-approach/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31920520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-first","crud","csharp","database-migrations","entity-framework-core","mssql"],"created_at":"2024-11-13T21:14:58.841Z","updated_at":"2026-04-17T08:04:51.672Z","avatar_url":"https://github.com/ZG3Z.png","language":"C#","readme":"# Code first approach\n\n* [Introduction](#introduction)\n* [Model (ER)](#model)\n* [Methods used](#methods-used)\n* [Technologies used](#technologies-used)\n \n ## Introduction\n Code First Modeling creates a database that does not exist or adds new tables to an empty database.\n \n ## Model\n ![image](https://user-images.githubusercontent.com/102870734/181847016-235e26b5-582d-4753-a1b4-9d1d4a0b2675.png)\n \n ## Methods used\n * Database with sample data implemented with Entity Framework Core version.\n * 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.\n * 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.\n\n ## Technologies used\n * Web API / REST\n * DTO\n * Entity Framework Core\n * Microsoft SQL Server\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzg3z%2Fcode-first-approach","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzg3z%2Fcode-first-approach","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzg3z%2Fcode-first-approach/lists"}