English 中文(简体)
如何创建实体框架核心海关数据提供者?
原标题:How to create EntityFrameworkCore Custom data provider?

I have a requirement from my client. he want a custom data provider for EntityFrameWrok Core which is similar to like In Memory approach. We have service fabric stateless gateway endpoints which internally call to stateful service to get the data or update the data similar to SQL server. But we have different data stores like cosmos db, SQL server , service fabric reliable dictionary. He want to change the provider based on the requirement. the requirement is like if he want to store data in SQL server he will add SQL server provider in startup similar to remaining.

我们有服务器和宇宙 d灭剂,但我们没有能够提供可靠的服务结构,因此,我们要在可靠的字典上建立海关供应商。

我没有找到多少有关建立习俗提供者的细节,因此,任何人都能够指导我开始哪里工作以及如何这样做。 如果有文件或样本链接,我会更好。

Thanks , Srinivas Velpula.

问题回答

https://blog.oneunifirst.com/2016/11/11/so-you-want-to-write-an-ef-vider/

maybe this can be help . or now we can check with opensource provider https://github.com/npgsql/efcore.pg





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签