ORM for .Net WindowsForms

Hi,

I have used gorm ORM to connect with cockroachdb in my api using go language. Now i want to use cockroach with my c# windows application is there any recommended ORM to use with cockroach and c# windows application.

Regards,

Hi,

Is this what you’re looking for?

Let me know.

Matt

No i am not talking about driver. i am talking about ORM which map my entities with database tables.

My apologies for the misunderstanding.

We haven’t done any testing with C# ORM’S.

Best,
Matt

Hi,

You can give the entity framework a shot. However, Like i said we haven’t tested.

Also, check out this blog post https://www.cockroachlabs.com/blog/npoco-dotnet-cockroachdb/

I’m using Dapper with Npgsql in .NET Core 3.1… I’m not yet doing high-levels of transactions but it seems to work. I avoid Entity Framework but it should work as well.