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

Add EF extension for lambda injection #24

Merged
merged 5 commits into from
Apr 17, 2021
Merged

Add EF extension for lambda injection #24

merged 5 commits into from
Apr 17, 2021

Conversation

axelheer
Copy link
Owner

This enables global Lambda injection for EF Core:

    services.AddDbContext<MyContext>(options =>
         options.UseSqlOrTheLike("...").WithLambdaInjection());

You're welcome.

@codecov
Copy link

codecov bot commented Apr 11, 2021

Codecov Report

Merging #24 (07530e3) into devel (be8c81c) will decrease coverage by 0.40%.
The diff coverage is 86.36%.

Impacted file tree graph

@@            Coverage Diff             @@
##            devel      #24      +/-   ##
==========================================
- Coverage   95.83%   95.43%   -0.41%     
==========================================
  Files          46       48       +2     
  Lines         985     1029      +44     
  Branches      221      230       +9     
==========================================
+ Hits          944      982      +38     
- Misses         21       24       +3     
- Partials       20       23       +3     
Impacted Files Coverage Δ
...ameworkCore/InjectableDbContextOptionsExtension.cs 82.85% <82.85%> (ø)
...ore/InjectableDbContextOptionsBuilderExtensions.cs 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be8c81c...07530e3. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant