vsapi
Pomelo.EntityFrameworkCore.MySql
vsapi | Pomelo.EntityFrameworkCore.MySql | |
---|---|---|
1 | 5 | |
60 | 2,644 | |
- | 0.5% | |
7.2 | 8.7 | |
23 days ago | 1 day ago | |
C# | C# | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vsapi
Pomelo.EntityFrameworkCore.MySql
-
Mysql and Entity
EntityFramework uses providers to translate Linq queries into real queries and connect to the datasource and convert the data into .net readable format. The MySQL provider for .NET is the official one but I think it has fallen on hard times and is not developed as much as before. You should probably look at Pomelo, which is a community library for .net core: https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql
- Whats the different between these two? What should I be using if im on NET 6?
- Github repositories to study from
-
Question about C# and MySql
For MySQL and friends you'll need the Pomelo data provider from https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql . Turns out there's an example of using the MySQL provider about halfway down that shows how to, but it is missing the '-o Model' parameter that you'd use to get your database model into a folder called Model.
-
Timeflake: 128-bit, roughly-ordered, URL-safe UUIDs
This approach has become my preferred way of generating IDs for database rows. It is relatively space efficient and doesn't require a round trip to the database to generate an ID like auto increment does.
While working on a C# implementation for MySQL and we found that when the DB uses Little Endian Binary that the GUID must be reversed to store in order:
https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCo...
What are some alternatives?
Entity Framework - EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
MySqlConnector - MySQL Connector for .NET
ImageSharp - :camera: A modern, cross-platform, 2D Graphics library for .NET
sequential-uuids - generator of sequential UUIDs
Detached-Mapper - An ORM friendly mapper. Allows saving entire entity graphs. Heavily inspired in GraphDiff and AutoMapper.
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
umbrella - ⛱ Broadly scoped ecosystem & mono-repository of 192 TypeScript projects (and 157 examples) for general purpose, functional, data driven development
id128 - 128-bit id generation in multiple formats
uulid.go - ULID-UUID compatibility library for generating and parsing ULIDs.
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
timeflake - Timeflake is a 128-bit, roughly-ordered, URL-safe UUID.