{"id":21133346,"url":"https://github.com/kris701/databasesharp","last_synced_at":"2026-03-06T10:09:18.868Z","repository":{"id":254260705,"uuid":"845973774","full_name":"kris701/DatabaseSharp","owner":"kris701","description":"A project to interface and convert values to database STPs","archived":false,"fork":false,"pushed_at":"2025-12-17T10:07:09.000Z","size":103,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-31T06:18:34.848Z","etag":null,"topics":["csharp","database"],"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/kris701.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-08-22T09:42:01.000Z","updated_at":"2025-12-17T10:06:02.000Z","dependencies_parsed_at":"2025-04-30T08:20:31.461Z","dependency_job_id":"c6d84e75-3729-4512-8589-8bab4de443c1","html_url":"https://github.com/kris701/DatabaseSharp","commit_stats":null,"previous_names":["kris701/databasesharp"],"tags_count":55,"template":false,"template_full_name":null,"purl":"pkg:github/kris701/DatabaseSharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kris701%2FDatabaseSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kris701%2FDatabaseSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kris701%2FDatabaseSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kris701%2FDatabaseSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kris701","download_url":"https://codeload.github.com/kris701/DatabaseSharp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kris701%2FDatabaseSharp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30171657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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","database"],"created_at":"2024-11-20T06:07:09.999Z","updated_at":"2026-03-06T10:09:18.823Z","avatar_url":"https://github.com/kris701.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/user-attachments/assets/4b024dea-dbd3-475c-9a7b-faf2869d5c8f\" width=\"200\" height=\"200\" /\u003e\n\u003c/p\u003e\n\n[![Build and Publish](https://github.com/kris701/DatabaseSharp/actions/workflows/dotnet-desktop.yml/badge.svg)](https://github.com/kris701/DatabaseSharp/actions/workflows/dotnet-desktop.yml)\n![Nuget](https://img.shields.io/nuget/v/DatabaseSharp)\n![Nuget](https://img.shields.io/nuget/dt/DatabaseSharp)\n![GitHub last commit (branch)](https://img.shields.io/github/last-commit/kris701/DatabaseSharp/main)\n![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/m/kris701/DatabaseSharp)\n![Static Badge](https://img.shields.io/badge/Platform-Windows-blue)\n![Static Badge](https://img.shields.io/badge/Platform-Linux-blue)\n![Static Badge](https://img.shields.io/badge/Framework-dotnet--10.0-green)\n\n\n# DatabaseSharp\n\nThis is a project to introduce simpler type conversion when communicating with a database.\n\nThe library here is designed to only communicate through STPs, since it is considered more secure than free SQL.\n\nAn example of how this works can be seen below:\n```csharp\nvar client = new DBClient(\"\u003c--Database Connection String Here--\u003e\");\nvar dataset = await client.ExecuteAsync(\"some-stp\");\nvar table = dataset[0];\nvar row = table[0];\n\nint someValue = row.GetValue\u003cint\u003e(\"COL_NAME\");\n```\n\nYou can also deserialize directly into class objects like this:\n```csharp\npublic class SomeClass\n{\n    [DatabaseSharp(ColumnName = \"PK_NAME\")]\n    public string Name { get; set; }\n    [DatabaseSharp(ColumnName = \"ACT_VALUE\")]\n    public int Value { get; set; }\n}\n\nvar client = new DBClient(\"\u003c--Database Connection String Here--\u003e\");\nvar dataset = await client.ExecuteAsync(\"some-stp\");\nvar table = dataset[0];\nvar row = table[0];\n\nSomeClass filled = row.Fill\u003cSomeClass\u003e();\n```\n\nThese are just the methods on the row level. \nHowever you can also use these on the Table level, where it will instead make a list of the items, as such:\n```csharp\nvar client = new DBClient(\"\u003c--Database Connection String Here--\u003e\");\nvar dataset = await client.ExecuteAsync(\"some-stp\");\nvar table = dataset[0];\n\nList\u003cint\u003e someValue = table.GetAllValues\u003cint\u003e(\"COL_NAME\");\n```\n\nThe project is available as a package on the [NuGet Package Manager](https://www.nuget.org/packages/DatabaseSharp/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkris701%2Fdatabasesharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkris701%2Fdatabasesharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkris701%2Fdatabasesharp/lists"}