{"id":24438619,"url":"https://github.com/emilianomusso/pocogenerator","last_synced_at":"2026-05-05T18:41:08.754Z","repository":{"id":195518646,"uuid":"283148781","full_name":"EmilianoMusso/pocoGenerator","owner":"EmilianoMusso","description":"POCO Entities Generator for Microsoft SQL Server","archived":false,"fork":false,"pushed_at":"2024-01-16T20:05:29.000Z","size":24,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T06:55:09.898Z","etag":null,"topics":["csharp","dotnet","netcore","poco","poco-generator","sql","sqlserver"],"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/EmilianoMusso.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-07-28T08:24:07.000Z","updated_at":"2023-09-30T17:39:29.000Z","dependencies_parsed_at":"2023-09-18T11:28:41.337Z","dependency_job_id":"97658cbe-a141-427b-ae0d-4ddc13e8e3be","html_url":"https://github.com/EmilianoMusso/pocoGenerator","commit_stats":null,"previous_names":["emilianomusso/pocogenerator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EmilianoMusso/pocoGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilianoMusso%2FpocoGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilianoMusso%2FpocoGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilianoMusso%2FpocoGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilianoMusso%2FpocoGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmilianoMusso","download_url":"https://codeload.github.com/EmilianoMusso/pocoGenerator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilianoMusso%2FpocoGenerator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32663434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["csharp","dotnet","netcore","poco","poco-generator","sql","sqlserver"],"created_at":"2025-01-20T19:17:18.335Z","updated_at":"2026-05-05T18:41:08.736Z","avatar_url":"https://github.com/EmilianoMusso.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# POCO Generator\n\nPOCO Generator is a .NET Core command-line tool, written in C#, to quickly create POCO objects from SQL Server tables and views, with class definition \nfor stored procedures and function too (those last two are in development, for now the program will only create their declaration).\nIt aims to prepare classes and DataModel for Entity Framework, according to Code-First paradigm.\n\nPrior to running the program, connection string, namespace and data model name must be set in **appsettings.json** file\n```sh\n{\n  \"connectionString\": \"Password=\u003cPASSWORD\u003e;Persist Security Info=True;User ID=\u003cUSERNAME\u003e;Initial Catalog=\u003cDATABASE\u003e;Data Source=\u003cSQL_SERVER_INSTANCE\u003e\",\n  \"namespace\":  \"pocoGenerator_classes\",\n  \"datamodelname\":  \"pocoDataModel\"\n}\n```\n\nThe tool can be run without parameters, in which case it will process every table, view, stored procedure and function in the given database, like that:\n```sh\nc:\\\u003e pocogenerator.exe\n```\nOr by specifying a particular table, in which case it will create a single .cs file for that table, view, stored procedure or function\n```sh\nc:\\\u003e pocogenerator.exe MyTable\n```\n\nPOCO Generator will create a folder named **pocoGenerator** on the current user's desktop, where it will save the created .cs files.\nDataModel is always created, and it contains for now only tables and views.\nDataAnnotations will be used into classes to mark fields which compose the primary key, and for identity / computed columns","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilianomusso%2Fpocogenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femilianomusso%2Fpocogenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilianomusso%2Fpocogenerator/lists"}