Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.5% on nuget.org
Top 1.3% downloads on nuget.org

nuget.org : peanutbutter.utils.entity

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

Registry - Homepage - JSON
purl: pkg:nuget/peanutbutter.utils.entity
Keywords: entity-framework, EF, csharp, duck-typing, hacktoberfest, mysql, sqlite, sqlserver, testing, utility
License: BSD-3-Clause
Latest release: almost 2 years ago
First release: over 8 years ago
Downloads: 725,089 total
Stars: 169 on GitHub
Forks: 30 on GitHub
Total Commits: 2206
Committers: 18
Average commits per author: 122.556
Development Distribution Score (DDS): 0.299
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/fluffynuts
Last synced: 16 days ago

    Loading...
    Readme
    Loading...