surrealdb.net icon indicating copy to clipboard operation
surrealdb.net copied to clipboard

EF Core Database Provider

Open Odonno opened this issue 1 year ago • 6 comments

  • Create a packageable C# library named SurrealDb.EntityFrameworkCore.SurrealDb
  • Create a test project named SurrealDb.EntityFrameworkCore.Tests
  • Create an example project named SurrealDb.Examples.EntityFrameworkCore
  • Update documentation
    • Readme file
    • Official documentation website

Here is an interesting article on how to write an EF Core Provider: https://blog.oneunicorn.com/2016/11/11/so-you-want-to-write-an-ef-core-provider/ Not sure if this still work but it can be a good starting point.

Odonno avatar Sep 22 '23 17:09 Odonno

Is anyone working on this? I'd like to have a go?

simon-curtis avatar Nov 17 '23 00:11 simon-curtis

Is anyone working on this? I'd like to have a go?

HI Simon.

No, I don't think so. You can work on it. Feel free to ask any question.

Odonno avatar Nov 17 '23 08:11 Odonno

https://github.com/dotnet/EntityFramework.Docs/issues/681 - ongoing discussion around DbProviders

simon-curtis avatar Nov 18 '23 16:11 simon-curtis

I have had a look into this, and got some scaffolding going but the work that needs to be done is not trivial. I might try my hand at helping on some smaller bits of work first

simon-curtis avatar Nov 27 '23 22:11 simon-curtis

Yes, implementing EF Core is not a simple task. I created a new issue #61 that can be a nice-to-have feature and can be a first step before having a full EF Core implementation.

Odonno avatar Dec 11 '23 15:12 Odonno

Yeah that looks like a good place to start

simon-curtis avatar Dec 11 '23 17:12 simon-curtis