{"id":19991718,"url":"https://github.com/jsakamoto/EntityFrameworkCore.IndexAttribute","last_synced_at":"2025-05-04T10:32:27.939Z","repository":{"id":47623242,"uuid":"115599150","full_name":"jsakamoto/EntityFrameworkCore.IndexAttribute","owner":"jsakamoto","description":"Revival of [Index] attribute for EF Core. (with extension for model building.)","archived":false,"fork":false,"pushed_at":"2024-10-11T13:09:48.000Z","size":153,"stargazers_count":42,"open_issues_count":5,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-04T01:50:04.926Z","etag":null,"topics":["csharp","efcore","netcore"],"latest_commit_sha":null,"homepage":"","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/jsakamoto.png","metadata":{"files":{"readme":"README-Appendix-D.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}},"created_at":"2017-12-28T07:48:22.000Z","updated_at":"2024-10-11T12:55:38.000Z","dependencies_parsed_at":"2024-06-18T16:58:18.117Z","dependency_job_id":"81d59747-7447-4f10-aadd-98598d5e4183","html_url":"https://github.com/jsakamoto/EntityFrameworkCore.IndexAttribute","commit_stats":{"total_commits":71,"total_committers":4,"mean_commits":17.75,"dds":0.04225352112676062,"last_synced_commit":"bd6350f348226d0273c07c69cbc7f93b928fd474"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsakamoto%2FEntityFrameworkCore.IndexAttribute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsakamoto%2FEntityFrameworkCore.IndexAttribute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsakamoto%2FEntityFrameworkCore.IndexAttribute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsakamoto%2FEntityFrameworkCore.IndexAttribute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsakamoto","download_url":"https://codeload.github.com/jsakamoto/EntityFrameworkCore.IndexAttribute/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224392258,"owners_count":17303658,"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":["csharp","efcore","netcore"],"created_at":"2024-11-13T04:51:52.861Z","updated_at":"2024-11-13T04:54:07.861Z","avatar_url":"https://github.com/jsakamoto.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# IndexColumnAttribute for EntityFramework Core  \n\n## Appendix D - Upgrade an existing project\n\nTo upgrade an existing project that uses ver.3 or before to use ver.5 or later of this package:\n1. Please confirm that the version of this package you use is ver.5 or later.\n\n```\nPM\u003e Update-Package Toolbelt.EntityFrameworkCore.IndexAttribute\n```\n\n2. Remove `using Toolbelt.ComponentModel.DataAnnotations.Schema;`, and insert `using Toolbelt.ComponentModel.DataAnnotations.Schema.V5;` instead.\n\n```csharp\n...\n// 👇 Remove this line...\n// using Toolbelt.ComponentModel.DataAnnotations.Schema;\n\n// 👇 Insert this line, instead.\nusing Toolbelt.ComponentModel.DataAnnotations.Schema.V5;\n...\n```\n\n3. Replace `[Index]` attribute to `[IndexColumn]` attribute.\n\n```csharp\n...\npublic class Foo {\n  ...\n  // 👇 Replace [Index] to [IndexColumn]\n  [IndexColumn] \n  public int Bar { get; set; }\n  ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsakamoto%2FEntityFrameworkCore.IndexAttribute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsakamoto%2FEntityFrameworkCore.IndexAttribute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsakamoto%2FEntityFrameworkCore.IndexAttribute/lists"}