{"id":20426842,"url":"https://github.com/altmann/cherryseed","last_synced_at":"2025-04-12T19:09:59.568Z","repository":{"id":43533239,"uuid":"65085295","full_name":"altmann/CherrySeed","owner":"altmann","description":"Seeding data from any source to any destination using .NET","archived":false,"fork":false,"pushed_at":"2016-10-24T18:55:19.000Z","size":551,"stargazers_count":29,"open_issues_count":2,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-12T19:09:54.588Z","etag":null,"topics":[],"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/altmann.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}},"created_at":"2016-08-06T14:07:25.000Z","updated_at":"2024-10-13T02:40:01.000Z","dependencies_parsed_at":"2022-09-14T09:40:55.944Z","dependency_job_id":null,"html_url":"https://github.com/altmann/CherrySeed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altmann%2FCherrySeed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altmann%2FCherrySeed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altmann%2FCherrySeed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altmann%2FCherrySeed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/altmann","download_url":"https://codeload.github.com/altmann/CherrySeed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248618277,"owners_count":21134200,"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-15T07:17:51.744Z","updated_at":"2025-04-12T19:09:59.539Z","avatar_url":"https://github.com/altmann.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/altmann/CherrySeed/blob/master/CherrySeed-Icon-With-Name-small.png\" alt=\"CherrySeed\"/\u003e\n\n# What is CherrySeed?\nCherrySeed is a simple .NET library built to solve a common problem - creating and seeding test data into the database. This type of code is boring to write and bringing relations under control is hard, so why not use a library for that?\n\n# Why use CherrySeed?\n- Bring relations between entities under control with an easy-to-use API \n- High separation of concerns\n  - Data providers (defining test data via csv, json, xml, etc.)\n  - Repository (storing test data via O/R mapping framework of your choice)\n- Some ready-to-use data providers and repositories\n- High extensibility\n    - Custom data providers\n    - Custom repositories\n    - Custom type transformations\n    - Extension points\n- Many types are supported out of the box (integer, string, enum, nullable types, etc.)\n\n# How do I use CherrySeed?\n\n    var config = new CherrySeedConfiguration(cfg =\u003e\n    {\n        // set data provider\n        cfg.WithDataProvider(new CsvDataProvider());\n\n        // set repository\n        cfg.WithGlobalRepository(new EfRepository());\n\n        // set entity specific settings\n        cfg.ForEntity\u003cPerson\u003e()\n            .WithPrimaryKey(e =\u003e e.Identification);\n    });\n\n    var cherrySeeder = config.CreateSeeder();\n    cherrySeeder.Seed();\n\nMore see in [Getting Started](https://github.com/altmann/CherrySeed/wiki/Getting-Started).\n\n# Resources\n- [Install via NuGet](https://www.nuget.org/packages?q=CherrySeed)\n- [Documentation](https://github.com/altmann/CherrySeed/wiki/Getting-Started)\n\n# Copyright\n\nCopyright (c) Michael Altmann. See [LICENSE](https://raw.githubusercontent.com/altmann/CherrySeed/master/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltmann%2Fcherryseed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltmann%2Fcherryseed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltmann%2Fcherryseed/lists"}