{"id":18572786,"url":"https://github.com/truecodersio/katasql","last_synced_at":"2025-07-15T16:11:07.175Z","repository":{"id":117009957,"uuid":"129113383","full_name":"truecodersio/KataSql","owner":"truecodersio","description":"C# Introduction to SQL","archived":false,"fork":false,"pushed_at":"2018-04-11T15:43:45.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-15T23:11:16.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/truecodersio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2018-04-11T15:16:35.000Z","updated_at":"2018-04-11T15:43:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf4d46bc-a016-42be-a064-ea2536ba1541","html_url":"https://github.com/truecodersio/KataSql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/truecodersio/KataSql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FKataSql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FKataSql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FKataSql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FKataSql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/truecodersio","download_url":"https://codeload.github.com/truecodersio/KataSql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truecodersio%2FKataSql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265444899,"owners_count":23766437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-06T23:07:12.423Z","updated_at":"2025-07-15T16:11:07.168Z","avatar_url":"https://github.com/truecodersio.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SqlIntro\n\nC# introduction to SQL\n\n## Kata Overview\n\nHere's what you'll need to do for this Kata:\n\n### Step 1\n\nClone this repo to your machine, then create a branch to accomplish your work (`git checkout -b your-branch-name`)\n\n### Step 2\n\nNavigate to the `ProductRepository.cs` and properly implement/complete all methods using raw SQL. When done, the `ProductRepository` class should be able to:\n\n1. `SELECT` all products\n1. `DELETE` a product with a particular `ProductId`\n1. `UPDATE` a product's name with a particular `ProductId`\n1. `INSERT` a new product\n\n### Step 3\n\nAdd a class called `DapperProductRepository` and enable the same methods implemented in the `ProductRepository` class, but avoid raw SQL in favor of [Dapper](https://github.com/StackExchange/Dapper). Make sure you implement:\n\n1. `SELECT` all products\n1. `DELETE` a product with a particular `ProductId`\n1. `UPDATE` a product's name with a particular `ProductId`\n1. `INSERT` a new product\n\n### Step 4\n\nAt this point, you have both `DapperProductRepository` and `ProductRepository` implementing the same methods. Make an Interface called `IProductRepository` that both your classes can conform to:\n\n1. Add a method called `GetProductsWithReview` that performs an `INNER JOIN`\n1. Add a method called `GetProductsAndReviews` that performs a `LEFT JOIN`\n\n### Step 5\n\nPush your changes (`git push`), create a pull request, and add request a review from your instructor.\n\n**Good luck!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruecodersio%2Fkatasql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftruecodersio%2Fkatasql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruecodersio%2Fkatasql/lists"}