Sentry.EntityFramework 0.0.1-preview2

Prefix Reserved
This is a prerelease version of Sentry.EntityFramework.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Sentry.EntityFramework --version 0.0.1-preview2
                    
NuGet\Install-Package Sentry.EntityFramework -Version 0.0.1-preview2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sentry.EntityFramework" Version="0.0.1-preview2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sentry.EntityFramework" Version="0.0.1-preview2" />
                    
Directory.Packages.props
<PackageReference Include="Sentry.EntityFramework" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sentry.EntityFramework --version 0.0.1-preview2
                    
#r "nuget: Sentry.EntityFramework, 0.0.1-preview2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Sentry.EntityFramework@0.0.1-preview2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sentry.EntityFramework&version=0.0.1-preview2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Sentry.EntityFramework&version=0.0.1-preview2&prerelease
                    
Install as a Cake Tool

Entity Framework 6 Integration for Sentry

This is packages extend Sentry's .NET SDK with Entity Framework 6 queries as Breadcrumbs. It also processes DbEntityValidationExceptions to extract the validation errors and add to the Extra field. This increases the debuggability of Entity Framework related errors gratefully.

Example in Sentry

Usage

There are 2 steps to adding Entity Framework 6 support to your project:

  • Call SentryDatabaseLogging.UseBreadcrumbs() to either your application's startup method, or into a static constructor inside your Entity Framework object. Make sure you only call this method once! This will add the interceptor to Entity Framework to log database queries.
  • When setting up your SentryClient, use SentryOptions.AddEntityFramework(). This extension method will register all error processors to extract extra data, such as validation errors, from the exceptions thrown by Entity Framework.

Samples

You can see it in action with a sample using ASP.NET MVC 5

Product Compatible and additional computed target framework versions.
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.0.0 1,994 12/11/2025
6.0.0-rc.2-prerelease 147 11/25/2025
6.0.0-rc.1-prerelease 347 11/17/2025
6.0.0-preview.2-prerelease 157 10/30/2025
6.0.0-preview.1-prerelease 159 10/6/2025
5.16.2 9,204 10/31/2025
5.16.1 4,875 10/14/2025
5.16.0 3,962 10/1/2025
5.15.1 2,096 9/20/2025
5.15.1-maxpath.1 271 9/18/2025
5.15.0 1,621 9/11/2025
5.14.1 42,425 8/14/2025
5.14.0 1,299 8/8/2025
5.14.0-alpha.1 226 8/6/2025
5.14.0-alpha.0 219 8/5/2025
5.13.0 1,801 7/28/2025
5.12.0 24,539 7/15/2025
5.12.0-alpha.0 85 7/11/2025
5.11.2 91,319 6/25/2025
5.11.1 1,690 6/21/2025
5.11.0 986 6/19/2025
5.11.0-alpha.3 219 6/13/2025
5.11.0-alpha.1 146 6/7/2025
5.10.0 3,704 6/6/2025
5.9.0 3,958 5/30/2025
5.8.2-beta.1 181 5/29/2025
5.8.1 2,000 5/27/2025
5.8.0 6,131 5/21/2025
5.8.0-alpha.0 173 5/22/2025
5.7.0 8,732 5/13/2025
5.7.0-beta.0 103 5/2/2025
5.6.0 5,843 4/24/2025
5.5.1 5,452 4/8/2025
5.5.0 4,298 4/2/2025
5.4.0 9,754 3/15/2025
5.3.0 2,786 3/7/2025
5.2.0 3,024 2/26/2025
5.1.1 86,752 2/13/2025
5.1.0 5,682 2/3/2025
5.0.1 28,142 1/8/2025
5.0.0 6,559 12/19/2024
5.0.0-alpha.1 100 11/25/2024
5.0.0-alpha.0 118 11/24/2024
4.13.0 50,415 11/5/2024
4.12.2 1,056 11/2/2024
4.12.1 34,257 10/10/2024
4.12.1-segv1 166 11/1/2024
4.12.0 126,919 10/2/2024
4.11.0 10,359 9/22/2024
4.10.2 39,544 8/21/2024
4.10.1 4,383 8/16/2024
4.10.0 2,599 8/14/2024
4.9.0 45,047 7/11/2024
4.9.0-sync.collection.2 96 7/30/2024
4.9.0-sync.collection.1 94 7/30/2024
4.8.1 21,502 7/2/2024
4.8.0 11,583 6/26/2024
4.7.0 19,211 5/27/2024
4.6.2 65,692 5/14/2024
4.6.1 364 5/14/2024
4.6.0 6,319 5/9/2024
4.5.0 4,290 4/30/2024
4.4.0 18,673 4/12/2024
4.3.0 677 4/10/2024
4.2.1 12,461 3/12/2024
4.2.0 697 3/11/2024
4.1.2 14,390 2/20/2024
4.1.1 3,194 2/14/2024
4.1.0 16,870 2/9/2024
4.0.3 1,240 2/7/2024
4.0.2 477 2/6/2024
4.0.1 355 2/5/2024
4.0.0 2,792 2/1/2024
4.0.0-beta.9 126 1/30/2024
4.0.0-beta.8 179 1/11/2024
4.0.0-beta.7 127 1/5/2024
4.0.0-beta.6 227 12/13/2023
4.0.0-beta.5 136 12/12/2023
4.0.0-beta.4 156 12/5/2023
4.0.0-beta.3 132 12/2/2023
4.0.0-beta.2 158 11/23/2023
4.0.0-beta.1 125 11/19/2023
4.0.0-beta.0 138 11/17/2023
4.0.0-alpha.0 143 11/9/2023
3.41.4 14,911 1/23/2024
3.41.3 54,801 11/29/2023
3.41.2 1,740 11/23/2023
3.41.1 1,295 11/22/2023
3.41.0 8,090 11/8/2023
3.40.1 21,230 10/12/2023
3.40.0 2,065 10/10/2023
3.40.0-beta.0 158 9/21/2023
3.39.1 35,353 9/12/2023
3.39.0 2,630 9/7/2023
3.38.0 315 9/6/2023
3.37.0 359 9/6/2023
3.36.0 24,820 8/22/2023
3.35.1 2,291 8/16/2023
3.35.0 3,628 8/8/2023
3.34.0 29,730 7/13/2023
3.33.1 17,615 6/13/2023
3.33.0 23,030 5/22/2023
3.32.0 400 5/22/2023
3.31.0 14,068 5/2/2023
3.30.0 12,428 4/11/2023
3.29.1 21,938 3/11/2023
3.29.0 27,404 3/6/2023
3.28.1 11,809 2/10/2023
3.28.0 1,638 2/8/2023
3.27.1 9,691 2/3/2023
3.27.0 5,629 2/1/2023
3.26.2 20,506 1/24/2023
3.26.1 5,085 1/17/2023
3.26.0 18,339 1/13/2023
3.25.0 13,406 12/23/2022
3.24.1 10,166 12/16/2022
3.24.0 17,381 11/18/2022
3.23.1 16,259 10/31/2022
3.23.0 792 10/27/2022
3.22.0 15,276 10/7/2022
3.21.0 20,403 9/2/2022
3.20.1 16,342 7/26/2022
3.20.0 1,174 7/22/2022
3.19.0 9,457 6/28/2022
3.18.0 17,106 6/15/2022
3.17.1 12,122 5/8/2022
3.17.0 10,652 5/3/2022
3.16.0 18,660 4/7/2022
3.15.0 18,615 3/15/2022
3.14.1 90,872 2/18/2022
3.14.0 5,750 2/14/2022
3.13.0 17,087 1/11/2022
3.12.3 47,211 12/19/2021
3.12.2 1,388 12/15/2021
3.12.1 2,723 12/6/2021
3.12.0 6,974 11/23/2021
3.12.0-alpha.1 351 11/7/2021
3.11.1 4,877 11/5/2021
3.11.0 1,545 11/2/2021
3.10.0 13,562 10/15/2021
3.9.4 6,381 9/29/2021
3.9.3 4,296 9/21/2021
3.9.2 11,712 9/10/2021
3.9.1 647 9/9/2021
3.9.0 2,874 8/27/2021
3.8.3 15,888 7/25/2021
3.8.2 756 7/17/2021
3.8.1 598 7/15/2021
3.8.0 822 7/14/2021
3.7.0 1,185 7/10/2021
3.6.1 1,185 7/2/2021
3.6.0 1,282 6/23/2021
3.6.0-alpha.2 313 6/18/2021
3.6.0-alpha.1 299 6/11/2021
3.5.0 5,882 6/7/2021
3.4.0 1,400 5/31/2021
3.0.3 24,137 2/6/2021
2.1.6 45,267 10/23/2020
1.0.0 112,608 1/4/2019
0.0.1-preview2 6,028 7/30/2018
0.0.1-preview1 1,044 7/19/2018