Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL implementation of DbContext/IStorageContext #478

Closed
Ryangr0 opened this issue Oct 8, 2023 · 3 comments
Closed

MySQL implementation of DbContext/IStorageContext #478

Ryangr0 opened this issue Oct 8, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request webapi Pull requests that update .net code

Comments

@Ryangr0
Copy link

Ryangr0 commented Oct 8, 2023

I would like for there to be an option in the persistency layer that is not Cosmos (because it's a paid service) and not Filesystem or Volatile for obvious reasons. I got this to work in my local project, with some caveats (repositories, and therefore seemingly IStorageContext, is registered to be a singleton. That does not play well with the transactional nature of MySQL). I'm making this issue to check to see if there is an audience for this functionality.

Also a question. What has been decided about EF for the data model layer?

@Rainson12
Copy link
Contributor

Rainson12 commented Oct 9, 2023

Hi @Ryangr0,
I have already implemented a EF Layer for mariadb which should also work for mysql. In that issue its also already mentioned that shifting to EF is desirable. Have a look at #242 (comment)

@TaoChenOSU TaoChenOSU self-assigned this Oct 9, 2023
@TaoChenOSU TaoChenOSU added enhancement New feature or request webapi Pull requests that update .net code labels Oct 9, 2023
@TaoChenOSU
Copy link
Contributor

Hello @Ryangr0,

Thanks for your post!

You are more than welcome to submit PRs if you think it's ready!

@matthewbolanos
Copy link
Member

Closing this issue since the Chat Copilot team is not ready to merge a feature like this in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request webapi Pull requests that update .net code
Projects
No open projects
Development

No branches or pull requests

4 participants