Code on the Shelf
  • Home
  • .NET
  • Docker
  • Azure
  • Entity Framework
  • Metrics
Sign in Subscribe

Entity Framework

All things Entity Framework
Incorrect String Value with MySQL and EF Core
EF Core

Incorrect String Value with MySQL and EF Core

When I attempted to insert it into a local development database, I notice an odd exception, something that I thought would be avoided because I'm using UTF8 in the character set of the MySQL 5.7:
23 Apr 2018 2 min read
Getting Identity Columns after insert, SQL Server and MySQL
Entity Framework

Getting Identity Columns after insert, SQL Server and MySQL

When inserting into a relational database (db), you can have the database automatically assign a value to the primary key of the row you are inserting. This is generally called the Identity Column. Using Entity Framework (ef) or Entity Framework Core (ef core) [https://github.com/aspnet/EntityFramework] (via an
05 Jun 2017 1 min read
Entity Framework and Identity columns - Part 1 - The Hack
Entity Framework

Entity Framework and Identity columns - Part 1 - The Hack

The Problem... I had some issues with EF 6.5 recently that to be honest took me more than a few minutes to solve. I was modifying the migration of an existing schema, which updated correctly and all was good. When I ran a query to the table to insert
30 Oct 2016 2 min read
Entity Framework Tricks
Entity Framework

Entity Framework Tricks

Deploying a database via EF Code First Migrations from the commandline Here are some handy powershell tools for updating a database when using Entity Framework Migrations. Normally I have EF setup so that the db is created or updated when the site (usually a web app in Azure these days)
22 Sep 2016 1 min read
Page 1 of 1
Code on the Shelf © 2025
Powered by Ghost