{"id":18736328,"url":"https://github.com/dotnetcore/entityframeworkcore.gaussdb","last_synced_at":"2026-01-05T17:16:16.149Z","repository":{"id":212114871,"uuid":"703549600","full_name":"dotnetcore/EntityFrameworkCore.GaussDB","owner":"dotnetcore","description":"Entity Framework Core provider for GaussDB Database","archived":false,"fork":false,"pushed_at":"2024-03-14T13:07:16.000Z","size":369,"stargazers_count":41,"open_issues_count":0,"forks_count":3,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-28T09:09:04.835Z","etag":null,"topics":["database","entity-framework","entity-framework-core","gaussdb","orm"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"postgresql","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotnetcore.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}},"created_at":"2023-10-11T12:59:40.000Z","updated_at":"2025-03-07T06:42:58.000Z","dependencies_parsed_at":"2024-11-07T15:21:39.000Z","dependency_job_id":"c75e5698-d7fc-46dc-8512-7ddd0fa69915","html_url":"https://github.com/dotnetcore/EntityFrameworkCore.GaussDB","commit_stats":null,"previous_names":["dotnetcore/entityframeworkcore.gaussdb"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnetcore%2FEntityFrameworkCore.GaussDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnetcore%2FEntityFrameworkCore.GaussDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnetcore%2FEntityFrameworkCore.GaussDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnetcore%2FEntityFrameworkCore.GaussDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotnetcore","download_url":"https://codeload.github.com/dotnetcore/EntityFrameworkCore.GaussDB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248618850,"owners_count":21134309,"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":["database","entity-framework","entity-framework-core","gaussdb","orm"],"created_at":"2024-11-07T15:20:17.494Z","updated_at":"2026-01-05T17:16:16.111Z","avatar_url":"https://github.com/dotnetcore.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GaussDB Entity Framework Core provider for PostgreSQL\n\n[![Member project of .NET Core Community](https://img.shields.io/badge/member%20project%20of-NCC-9e20c9.svg)](https://github.com/dotnetcore) \n[![nuget](https://img.shields.io/nuget/v/DotNetCore.EntityFrameworkCore.GaussDB.svg?style=flat-square)](https://www.nuget.org/packages/DotNetCore.EntityFrameworkCore.GaussDB) \n[![stats](https://img.shields.io/nuget/dt/DotNetCore.EntityFrameworkCore.GaussDB.svg?style=flat-square)](https://www.nuget.org/stats/packages/DotNetCore.EntityFrameworkCore.GaussDB?groupby=Version) \n\n\nDotNetCore.EntityFrameworkCore.GaussDB is the open source EF Core provider for PostgreSQL. It allows you to interact with PostgreSQL via the most widely-used .NET O/RM from Microsoft, and use familiar LINQ syntax to express queries. It's built on top of [DotNetCore.GaussDB](https://github.com/dotnetcore/DotNetCore.GaussDB).\n\nThe provider looks and feels just like any other Entity Framework Core provider. Here's a quick sample to get you started:\n\n```csharp\nawait using var ctx = new BlogContext();\nawait ctx.Database.EnsureDeletedAsync();\nawait ctx.Database.EnsureCreatedAsync();\n\n// Insert a Blog\nctx.Blogs.Add(new() { Name = \"FooBlog\" });\nawait ctx.SaveChangesAsync();\n\n// Query all blogs who's name starts with F\nvar fBlogs = await ctx.Blogs.Where(b =\u003e b.Name.StartsWith(\"F\")).ToListAsync();\n\npublic class BlogContext : DbContext\n{\n    public DbSet\u003cBlog\u003e Blogs { get; set; }\n\n    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)\n        =\u003e optionsBuilder.UseGaussDB(@\"host={host};port={port};username={username};password={password};database={database}\");\n}\n\npublic class Blog\n{\n    public int Id { get; set; }\n    public string Name { get; set; }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnetcore%2Fentityframeworkcore.gaussdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotnetcore%2Fentityframeworkcore.gaussdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnetcore%2Fentityframeworkcore.gaussdb/lists"}