{"id":19740725,"url":"https://github.com/ralmsdeveloper/EntityFrameworkCore.FirebirdSQL","last_synced_at":"2025-04-30T05:33:35.616Z","repository":{"id":65414451,"uuid":"101128986","full_name":"ralmsdeveloper/EntityFrameworkCore.FirebirdSQL","owner":"ralmsdeveloper","description":"FirebirdSQL database provider for Entity Framework Core.","archived":true,"fork":false,"pushed_at":"2020-05-08T21:39:49.000Z","size":1439,"stargazers_count":44,"open_issues_count":16,"forks_count":26,"subscribers_count":11,"default_branch":"feature/develop","last_synced_at":"2024-10-29T07:21:31.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ralmsdeveloper.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":"2017-08-23T02:33:07.000Z","updated_at":"2023-01-28T14:39:11.000Z","dependencies_parsed_at":"2023-01-22T10:15:25.307Z","dependency_job_id":null,"html_url":"https://github.com/ralmsdeveloper/EntityFrameworkCore.FirebirdSQL","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/ralmsdeveloper%2FEntityFrameworkCore.FirebirdSQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralmsdeveloper%2FEntityFrameworkCore.FirebirdSQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralmsdeveloper%2FEntityFrameworkCore.FirebirdSQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralmsdeveloper%2FEntityFrameworkCore.FirebirdSQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ralmsdeveloper","download_url":"https://codeload.github.com/ralmsdeveloper/EntityFrameworkCore.FirebirdSQL/tar.gz/refs/heads/feature/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224199945,"owners_count":17272363,"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-12T01:23:01.173Z","updated_at":"2025-04-30T05:33:35.610Z","avatar_url":"https://github.com/ralmsdeveloper.png","language":"C#","funding_links":[],"categories":["Providers"],"sub_categories":["Contents"],"readme":"\n# Efforts should be redirected to: \nhttps://github.com/cincuranet/FirebirdSql.Data.FirebirdClient\n\nEntityFrameworkCore.FirebirdSql for Firebird Server\n=====================\n[![label](https://img.shields.io/github/issues-raw/badges/shields/website.svg?style=plastic)](https://github.com/ralmsdeveloper/EntityFrameworkCore.FirebirdSql)\n[![GitHub license](https://img.shields.io/badge/license-GPLv2-blue.svg)](https://raw.githubusercontent.com/ralmsdeveloper/EntityFrameworkCore.FirebirdSql/master/LICENSE) [![Travis build status](https://img.shields.io/travis/ralmsdeveloper/EntityFrameworkCore.FirebirdSQL.svg?label=travis-ci\u0026branch=dev\u0026style=plastic)](https://travis-ci.org/ralmsdeveloper/EntityFrameworkCore.FirebirdSQL/branches)\n[![AppVeyor build status](https://img.shields.io/appveyor/ci/ralmsdeveloper/EntityFrameworkCore-FirebirdSQL/master.svg?label=appveyor\u0026style=plastic)](https://ci.appveyor.com/project/ralmsdeveloper/entityframeworkcore-firebirdsql/branch/master)  \n\n\n\nProvider               | Package name                              | Stable (`master` branch)    | On test (`dev` branch)\n-----------------------|-------------------------------------------|-----------------------------|-------------------------\nFirebird SQL           | `EntityFrameworkCore.FirebirdSql` | [![NuGet](https://img.shields.io/nuget/v/EntityFrameworkCore.FirebirdSql.svg?style=flat-square\u0026label=nuget)](https://www.nuget.org/packages/EntityFrameworkCore.FirebirdSql/) |  [![NuGet](https://img.shields.io/nuget/vpre/EntityFrameworkCore.FirebirdSql.svg?style=flat-square\u0026label=nuget)](https://www.nuget.org/packages/EntityFrameworkCore.FirebirdSql/)\n\n\nThe EntityFrameworkCore.FirebirdSql is an Entity Framework Core access provider for Firebird SQL, compatible with version 3.X and earlier versions 2.x.\n\nSame uses the ADO.NET Library  [Firebird Client](https://github.com/cincuranet/FirebirdSql.Data.FirebirdClient)  written by friend Cincura.\n\n\n##  What we already have:\nAll basic operations are working well\n\nInsert :heavy_check_mark: Update  :heavy_check_mark: Delete :heavy_check_mark:\n\nInsert Bulk :heavy_check_mark: Update Bulk :heavy_check_mark: Delete Bulk :heavy_check_mark:\n\nIncludes :heavy_check_mark: Complex Querys :heavy_check_mark: \n\n##  Supports: \nGuid, TimeStamp, Date, BigInt, Varchar, Text\n\nIDENTITY INCREMENT FOR FIREBIRD 3.X And 4.0 (Alpha)\n\n\n\n\n## Example of use DBContext\n\n ```csharp\n //DataContext\n public class BlogContext : DbContext\n {\n        \n        public DbSet\u003cBlog\u003e Blog { get; set; }\n        public DbSet\u003cPost\u003e Posts { get; set; }\n        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)\n        { \n            string connectionString = \"...\";\n            optionsBuilder.UseFirebird(connectionString);   \n        }\n        protected override void OnModelCreating(ModelBuilder modelo)\n        {\n            //Fluent Api\n            modelo.Entity\u003cBlog\u003e(entity =\u003e\n            {\n                entity.HasIndex(e =\u003e e.BlogId)\n                    .HasName(\"Id\")\n                    .IsUnique();\n            });\n        }\n    }\n\n    public class Blog\n    {\n        public int BlogId { get; set; }\n        public string Url { get; set; } \n        public List\u003cPost\u003e Posts { get; set; }\n    }\n    public class Post\n    {\n        public int PostId { get; set; }\n        public string Title { get; set; }\n        public string Content { get; set; }\n\n        public int BlogId { get; set; }\n        public Blog Blog { get; set; }\n    }\n }     \n```\n\n## Example of use add\n```csharp\n//Sample Use\n var cx = new BlogContext();  \n \n //one\n cx.Blog.Add(new Blog\n {\n     Url = \"https://github.com/ralmsdeveloper/EntityFrameworkCore.FirebirdSql\"\n });\n cx.SaveChanges();\n \n //Range\n var RangeBlog = new List\u003cBlog\u003e\n {\n      new Blog{ Url=\"https://github.com/ralmsdeveloper/EntityFrameworkCore.FirebirdSql\"  },\n      new Blog{ Url=\"https://github.com/ralmsdeveloper/\"  },\n      new Blog{ Url=\"https://blog.ralms.net\"  },\n      new Blog{ Url=\"https://ralms.net\"  } \n };\n cx.Blog.AddRange(RangeBlog);\n cx.SaveChanges();\n```\n\n## Example of use update\n```csharp\n//Sample Use\n var cx = new BlogContext();  \n  \n var blog = cx.Blog.Find(1);\n cx.Attach(blog);\n blog.Url = \"www.ralms.net\";\n cx.SaveChanges(); \n```\n\n## Example of use delete\n```csharp\n//Sample Use\n var cx = new BlogContext();  \n  \n var blog = cx.Blog.Find(1);\n cx.Delete(blog); \n cx.SaveChanges(); \n```\n## Example of use where\n```csharp\n//Sample Use\n var cx = new BlogContext();  \n  \n var blogs = cx.Blog.Where(p =\u003e p.BlogId \u003e 0).ToList(); \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralmsdeveloper%2FEntityFrameworkCore.FirebirdSQL","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fralmsdeveloper%2FEntityFrameworkCore.FirebirdSQL","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralmsdeveloper%2FEntityFrameworkCore.FirebirdSQL/lists"}