PeanutButter.Utils.Entity 2.0.14

Provides the following:
     * EntityBase
       - a base entity class to inherit from. Provides the following fields:
         Created (datetime)
         LastModified (datetime?)
         Enabled (bool)
     * DbContextWithAutomaticTrackingFields
       - when persisting entities which derive from EntityBase, this will automatically
         set Created to the current timestamp on a new entity and update LastModified
         on an updated entity
     * Extensions to:
       - AddRange on an IDbSet
       - AddRange on an ICollection
       - RemoveRange on an IDbSet
       - RemoveRange on an ICollection
       - Clear on IDbSet (delete all in dbset)
       - AddNew on IDbSet and ICollection
           - Convenience method so you can, for example, do:
             var someItem = context.SomeCollection.FirstOrDefault(i => i.Name == "bob") ?? context.Collection.AddNew(e => e.Name = "bob");
             which finds the first bob or adds a new one
       - Transform, which provides a fluent manner to do what you would with Select(), but on a single result

There is a newer version of this package available.
See the version list below for details.
Install-Package PeanutButter.Utils.Entity -Version 2.0.14
dotnet add package PeanutButter.Utils.Entity --version 2.0.14
<PackageReference Include="PeanutButter.Utils.Entity" Version="2.0.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PeanutButter.Utils.Entity --version 2.0.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PeanutButter.Utils.Entity, 2.0.14"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install PeanutButter.Utils.Entity as a Cake Addin
#addin nuget:?package=PeanutButter.Utils.Entity&version=2.0.14

// Install PeanutButter.Utils.Entity as a Cake Tool
#tool nuget:?package=PeanutButter.Utils.Entity&version=2.0.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on PeanutButter.Utils.Entity:

Package Downloads
EmailSpooler.Win32Service.Entity
Provides the Entity POCO classes for sharing data access with the EmailSpooler.Win32Service service
PeanutButter.TestUtils.Entity
Contains classes to help with testing when entity and a SQL Server would be involved in production: * TestFixtureWithTempDb provides bootstrapping for tests which would use a temporary database (TempDBLocalDb) * EntityPersistenceTestFixtureBase provides helpers for the common test of persisting and recalling entities to test that mappings (automatic or manual) work as expected * DbContextExtensions adds SaveChangesWithErrorReporting(), an extension method for DbContext derivatives to provide more information within tests as to why a test is failing (such information is usually buried within the exception maze that Entity provides)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.20 0 5/10/2021
2.0.19 0 5/10/2021
2.0.18 31 5/3/2021
2.0.17 38 5/3/2021
2.0.16 68 4/14/2021
2.0.15 46 4/13/2021
2.0.14 63 3/31/2021
2.0.13 45 3/25/2021
2.0.12 76 3/25/2021
2.0.11 55 2/19/2021
2.0.10 44 2/18/2021
2.0.9 52 2/18/2021
2.0.8 55 2/16/2021
2.0.7 58 2/9/2021
2.0.6 50 2/9/2021
2.0.5 70 2/3/2021
2.0.4 77 1/29/2021
2.0.3 62 1/29/2021
2.0.2 66 1/28/2021
2.0.1 48 1/27/2021
2.0.0 58 1/26/2021
1.2.397 76 1/26/2021
1.2.396 65 1/21/2021
1.2.395 61 1/20/2021
1.2.394 72 1/20/2021
1.2.393 61 1/20/2021
1.2.392 68 1/20/2021
1.2.391 73 1/19/2021
1.2.390 64 1/19/2021
1.2.389 86 1/19/2021
1.2.388 70 1/14/2021
1.2.387 67 1/14/2021
1.2.386 64 1/13/2021
1.2.385 99 1/13/2021
1.2.384 128 1/11/2021
1.2.383 82 1/8/2021
1.2.382 99 1/6/2021
1.2.381 99 1/6/2021
1.2.380 143 11/17/2020
1.2.379 173 10/21/2020
1.2.378 136 9/17/2020
1.2.377 163 9/1/2020
1.2.376 148 9/1/2020
1.2.375 203 7/13/2020
1.2.374 150 7/2/2020
1.2.373 166 7/1/2020
1.2.372 180 6/10/2020
1.2.371 156 6/10/2020
1.2.370 177 6/10/2020
1.2.369 183 6/9/2020
1.2.368 181 6/9/2020
1.2.367 157 6/9/2020
1.2.366 147 6/9/2020
1.2.365 162 6/9/2020
1.2.364 171 6/9/2020
1.2.363 144 6/9/2020
1.2.362 207 6/8/2020
1.2.361 173 6/4/2020
1.2.360 177 5/4/2020
1.2.359 169 4/27/2020
1.2.358 223 4/4/2020
1.2.357 208 3/25/2020
1.2.356 185 3/10/2020
1.2.355 189 3/10/2020
1.2.354 186 3/6/2020
1.2.353 207 3/3/2020
1.2.352 189 3/3/2020
1.2.351 171 3/2/2020
1.2.350 185 3/2/2020
1.2.349 182 3/2/2020
1.2.348 181 3/2/2020
1.2.347 178 3/2/2020
1.2.346 193 2/27/2020
1.2.345 227 2/21/2020
1.2.344 186 2/20/2020
1.2.343 186 2/20/2020
1.2.342 173 2/20/2020
1.2.341 187 2/20/2020
1.2.340 206 2/20/2020
1.2.339 209 2/20/2020
1.2.338 169 2/19/2020
1.2.337 198 2/18/2020
1.2.336 216 2/14/2020
1.2.335 220 2/6/2020
1.2.334 217 2/4/2020
1.2.333 254 2/3/2020
1.2.332 202 1/13/2020
1.2.331 238 12/17/2019
1.2.330 218 12/13/2019
1.2.328 207 12/12/2019
1.2.327 200 12/11/2019
1.2.326 223 12/10/2019
1.2.325 221 12/3/2019
1.2.324 205 11/29/2019
1.2.323 205 11/28/2019
1.2.322 211 11/28/2019
1.2.321 227 11/28/2019
1.2.320 342 11/26/2019
1.2.319 201 11/26/2019
1.2.318 207 11/22/2019
1.2.317 197 11/20/2019
1.2.316 213 10/25/2019
1.2.315 208 10/25/2019
1.2.314 235 10/23/2019
1.2.313 211 10/18/2019
1.2.312 225 10/17/2019
1.2.311 224 10/17/2019
1.2.310 217 10/17/2019
1.2.309 226 10/9/2019
1.2.308 219 10/8/2019
1.2.307 210 10/7/2019
1.2.306 218 10/4/2019
1.2.305 232 10/3/2019
1.2.304 224 10/2/2019
1.2.303 233 9/16/2019
1.2.302 214 9/16/2019
1.2.301 218 9/15/2019
1.2.300 220 9/13/2019
1.2.299 228 9/10/2019
1.2.298 226 9/6/2019
1.2.297 236 8/20/2019
1.2.296 224 8/20/2019
1.2.295 237 8/20/2019
1.2.294 233 8/20/2019
1.2.293 229 8/16/2019
1.2.292 265 7/15/2019
1.2.291 239 6/30/2019
1.2.290 239 6/28/2019
1.2.289 233 6/20/2019
1.2.288 287 6/12/2019
1.2.287 254 6/12/2019
1.2.286 271 6/11/2019
1.2.285 252 6/11/2019
1.2.284 296 6/5/2019
1.2.283 285 5/28/2019
1.2.282 275 5/25/2019
1.2.281 260 5/23/2019
1.2.280 273 5/13/2019
1.2.279 259 5/9/2019
1.2.278 268 5/9/2019
1.2.277 273 5/7/2019
1.2.276 268 5/7/2019
1.2.275 270 5/6/2019
1.2.274 270 4/26/2019
1.2.273 294 4/25/2019
1.2.272 286 4/25/2019
1.2.271 313 4/24/2019
1.2.270 323 4/24/2019
1.2.269 288 4/16/2019
1.2.268 281 4/16/2019
1.2.267 292 4/16/2019
1.2.266 305 4/12/2019
1.2.265 288 4/12/2019
1.2.264 279 4/11/2019
1.2.263 298 4/11/2019
1.2.262 277 4/10/2019
1.2.261 273 4/10/2019
1.2.260 297 4/5/2019
1.2.259 313 2/27/2019
1.2.258 272 2/27/2019
1.2.257 295 2/26/2019
1.2.256 354 2/15/2019
1.2.255 340 2/15/2019
1.2.254 350 2/5/2019
1.2.253 363 12/12/2018
1.2.252 385 11/8/2018
1.2.251 378 11/8/2018
1.2.250 420 10/11/2018
1.2.249 453 10/2/2018
1.2.248 411 9/25/2018
1.2.247 438 9/3/2018
1.2.246 423 8/28/2018
1.2.245 429 8/27/2018
1.2.244 435 8/22/2018
1.2.243 436 8/21/2018
1.2.242 439 8/17/2018
1.2.241 449 7/27/2018
1.2.240 468 7/26/2018
1.2.239 523 6/18/2018
1.2.238 469 6/14/2018
1.2.237 455 5/25/2018
1.2.236 470 5/24/2018
1.2.235 515 5/18/2018
1.2.234 470 5/3/2018
1.2.233 506 5/3/2018
1.2.232 481 4/30/2018
1.2.231 514 4/18/2018
1.2.230 519 4/10/2018
1.2.229 531 4/10/2018
1.2.228 464 4/4/2018
1.2.227 547 3/28/2018
1.2.226 532 3/22/2018
1.2.225 491 3/20/2018
1.2.224 528 3/19/2018
1.2.223 503 3/15/2018
1.2.222 474 3/14/2018
1.2.221 494 3/14/2018
1.2.220 476 2/23/2018
1.2.219 530 2/16/2018
1.2.218 490 2/9/2018
1.2.217 494 2/8/2018
1.2.216 610 2/7/2018
1.2.215 479 2/7/2018
1.2.214 524 2/5/2018
1.2.213 526 2/2/2018
1.2.212 608 1/26/2018
1.2.211 466 1/16/2018
1.2.210 470 12/18/2017
1.2.209 483 12/14/2017
1.2.208 497 12/7/2017
1.2.206 493 12/4/2017
1.2.205 503 11/28/2017
1.2.204 482 11/24/2017
1.2.203 536 11/24/2017
1.2.202 479 11/24/2017
1.2.201 506 11/20/2017
1.2.200 500 11/14/2017
1.2.199 489 11/14/2017
1.2.198 523 11/6/2017
1.2.197 491 11/6/2017
1.2.196 481 10/31/2017
1.2.195 477 10/30/2017
1.2.194 498 10/26/2017
1.2.193 500 10/26/2017
1.2.192 475 10/26/2017
1.2.191 474 10/20/2017
1.2.190 476 10/18/2017
1.2.189 496 10/18/2017
1.2.188 497 10/15/2017
1.2.187 485 10/11/2017
1.2.185 494 10/10/2017
1.2.184 491 10/10/2017
1.2.183 515 10/2/2017
1.2.182 501 9/29/2017
1.2.181 496 9/25/2017
1.2.180 520 9/14/2017
1.2.179 492 9/12/2017
1.2.178 492 8/31/2017
1.2.177 548 8/25/2017
1.2.176 502 8/24/2017
1.2.174 529 8/7/2017
1.2.173 524 8/7/2017
1.2.172 524 8/7/2017
1.2.171 502 8/4/2017
1.2.170 513 8/3/2017
1.2.169 497 8/3/2017
1.2.168 507 8/3/2017
1.2.167 501 8/2/2017
1.2.166 508 8/1/2017
1.2.165 508 7/26/2017
1.2.164 498 7/26/2017
1.2.163 499 7/25/2017
1.2.162 524 7/18/2017
1.2.161 508 7/18/2017
1.2.160 499 7/18/2017
1.2.159 524 7/18/2017
1.2.158 533 7/13/2017
1.2.157 502 7/13/2017
1.2.156 516 7/5/2017
1.2.155 523 6/28/2017
1.2.154 514 6/27/2017
1.2.153 498 6/20/2017
1.2.152 528 6/19/2017
1.2.151 509 6/14/2017
1.2.150 521 6/13/2017
1.2.149 519 5/31/2017
1.2.148 521 5/29/2017
1.2.147 534 5/19/2017
1.2.146 525 5/18/2017
1.2.145 544 5/18/2017
1.2.144 512 5/14/2017
1.2.143 543 5/12/2017
1.2.142 517 5/12/2017
1.2.141 530 5/5/2017
1.2.140 525 4/27/2017
1.2.139 539 2/27/2017
1.2.137 535 2/3/2017
1.2.136 543 2/3/2017
1.2.135 539 1/26/2017
1.2.134 539 1/25/2017
1.2.133 649 1/12/2017
1.2.132 580 1/11/2017
1.2.131 655 1/10/2017
1.2.130 527 1/10/2017
1.2.129 552 1/10/2017
1.2.128 552 1/10/2017
1.2.127 547 1/10/2017
1.2.125 539 1/10/2017
1.2.119 549 12/13/2016
1.2.118 532 12/12/2016
1.2.117 541 12/10/2016
1.2.115 550 12/8/2016
1.2.114 559 12/5/2016
1.2.112 541 11/29/2016
1.2.111 578 11/25/2016
1.2.110 568 11/25/2016
1.2.109 580 11/24/2016
1.2.108 548 11/24/2016
1.2.107 592 11/23/2016
1.2.106 554 11/18/2016
1.2.105 543 11/18/2016
1.2.104 549 11/18/2016
1.2.103 542 11/17/2016
1.2.102 532 11/17/2016
1.2.101 547 11/17/2016
1.2.100 524 11/16/2016
1.2.99 528 11/16/2016
1.2.98 552 11/16/2016
1.2.97 533 11/16/2016
1.2.96 530 11/16/2016
1.2.95 551 11/16/2016
1.2.94 554 11/15/2016
1.2.92 533 11/15/2016
1.2.91 525 11/15/2016
1.2.90 559 11/15/2016
1.2.89 546 11/14/2016
1.2.88 540 11/8/2016
1.2.87 538 11/8/2016
1.2.86 545 11/8/2016
1.2.85 543 11/8/2016
1.2.84 550 11/8/2016
1.2.83 550 11/7/2016
1.2.82 536 11/3/2016
1.2.81 549 11/3/2016
1.2.80 536 11/3/2016
1.2.79 558 11/2/2016
1.2.78 545 11/1/2016
1.2.76 534 11/1/2016
1.2.75 540 10/31/2016
1.2.73 557 10/28/2016
1.2.71 586 10/27/2016
1.2.68 565 10/26/2016
1.2.66 555 10/25/2016
1.2.65 537 10/24/2016
1.2.64 547 10/21/2016
1.2.63 541 10/21/2016
1.2.62 532 10/21/2016
1.2.61 546 10/20/2016
1.2.60 561 10/20/2016
1.2.59 539 10/13/2016
1.2.58 546 10/13/2016
1.2.57 526 10/13/2016
1.2.56 526 10/13/2016
1.2.55 561 10/11/2016
1.2.54 531 10/11/2016
1.2.53 555 10/10/2016
1.2.52 526 10/10/2016
1.2.51 598 9/12/2016
1.2.50 509 9/12/2016
1.2.49 555 9/7/2016
1.2.48 561 9/2/2016
1.2.47 603 5/6/2016
1.2.46 627 4/25/2016
1.2.45 555 4/25/2016
1.2.44 550 4/25/2016
1.2.43 578 4/22/2016
1.2.42 580 4/15/2016
1.2.41 566 4/12/2016
1.2.40 569 4/11/2016
1.2.39 596 4/8/2016
1.2.38 557 4/8/2016
1.2.37 579 4/8/2016
1.2.36 584 4/8/2016
1.2.35 555 4/6/2016
1.2.34 537 4/6/2016
1.2.33 567 4/6/2016
1.2.32 571 4/6/2016
1.2.31 577 4/6/2016
1.2.30 569 4/6/2016
1.2.29 570 4/5/2016
1.2.28 544 4/5/2016
1.2.27 572 4/5/2016
1.2.26 576 4/5/2016
1.2.25 574 4/5/2016
1.2.24 573 4/1/2016
1.2.23 577 3/31/2016
1.2.22 549 3/31/2016
1.2.21 576 3/29/2016
1.2.20 567 3/25/2016
1.2.19 558 3/17/2016
1.2.18 554 3/17/2016
1.2.17 561 3/17/2016
1.2.16 567 3/17/2016
1.2.15 611 3/17/2016
1.2.14 578 3/16/2016
1.2.13 568 3/15/2016
1.2.12 577 3/15/2016
1.2.11 564 3/14/2016
1.2.10 709 3/11/2016
1.2.9 552 3/7/2016
1.2.8 562 3/6/2016
1.2.7 569 3/6/2016
1.2.6 560 3/4/2016
1.2.5 655 3/2/2016
1.2.4 565 3/2/2016
1.2.3 580 3/1/2016
1.2.1 568 2/29/2016
1.2.0 559 2/29/2016
1.1.45 506 7/28/2017
1.1.44 575 2/29/2016
1.1.43 602 2/29/2016
1.1.42 569 2/28/2016
1.1.41 559 2/26/2016
1.1.40 567 2/23/2016
1.1.39 567 2/23/2016
1.1.38 565 2/22/2016
1.1.37 577 2/22/2016
1.1.36 590 2/19/2016
1.1.35 571 2/19/2016
1.1.34 587 2/15/2016
1.1.33 576 2/12/2016
1.1.32 613 2/11/2016
1.1.31 614 2/11/2016
1.1.30 594 2/9/2016
1.1.29 560 2/8/2016
1.1.28 592 1/29/2016
1.1.27 571 1/26/2016
1.1.25 565 1/25/2016
1.1.24 595 1/20/2016
1.1.23 556 1/20/2016
1.1.19 560 1/20/2016
1.1.16 559 1/19/2016
1.1.15 601 1/15/2016
1.1.14 601 1/15/2016
1.1.13 570 1/14/2016
1.1.12 641 1/14/2016
1.1.10 576 1/13/2016
1.1.9 645 1/12/2016
1.1.8 572 1/12/2016
1.1.7 588 1/12/2016
1.1.6 581 1/11/2016
1.1.5 570 1/7/2016
1.1.4 568 1/6/2016
1.1.3 585 1/6/2016
1.1.2 578 1/6/2016
1.1.1 581 1/5/2016
1.1.0 637 1/1/2016
1.0.155 712 12/18/2015
1.0.154 581 12/17/2015
1.0.153 583 12/17/2015
1.0.151 634 12/3/2015
1.0.150 586 12/3/2015
1.0.149 590 12/3/2015
1.0.148 591 12/2/2015
1.0.147 603 12/2/2015
1.0.146 584 12/2/2015
1.0.145 619 12/2/2015
1.0.144 589 12/2/2015
1.0.143 585 12/1/2015
1.0.142 598 12/1/2015
1.0.140 589 12/1/2015
1.0.139 587 11/30/2015
1.0.138 587 11/30/2015
1.0.137 598 11/26/2015
1.0.136 591 11/25/2015
1.0.135 592 11/20/2015
1.0.134 585 11/19/2015
1.0.133 579 11/19/2015
1.0.132 568 11/19/2015
1.0.131 598 11/17/2015
1.0.130 602 11/13/2015
1.0.129 599 11/13/2015
1.0.128 617 11/13/2015
1.0.127 626 11/12/2015
1.0.126 626 11/12/2015
1.0.125 601 11/11/2015
Show less