Leonidas Simopoulos's blog
|
Home About
|

Entity framework core

thumbnail
Run a raw sql query/command via EF Core

There are different ways to run a SQL command/query in Entity Framework Core. 1.DbSet.FromSqlRaw var parentsList = context.Parents...

2022/11/25

thumbnail
DbUpdateConcurrencyException when updating an entity

Error Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: 'The database operation was expected to affect 1 row(s), but...

2022/05/30

thumbnail
DbArithmeticExpression arguments must have a numeric common type

Error System.ArgumentException: DbArithmeticExpression arguments must have a numeric common type. Code caused the exception ctx.I...

2022/03/30

thumbnail
Configure an unique Index in entity framework core

1.Attributes [Index(nameof(Name),nameof(Uuid), IsUnique = true, Name = "SomeIndex")] public class Server { public int Id {...

2022/03/15

Archives

Categories

Access token Android Autofac Azure Docker Entity framework Entity framework core Git Grpc Hugo Json.Net Lets encrypt Linux Messagepack Mssql Mvvm Mvvm light Nginx Polly Signalr Uwp Visual studio Wpf Xamarin Xunit

Tags

android android-studio autofac azure certbot client-not-ready-yet-error connection-timeout-error dependency-injection docker emulator entity-framework entity-framework-core git git-hub-pages grpc hosting httpclient hugo identity-server introspection-of-access-token

Recent Posts

Azure Ubuntu vm - Update the user's ssh key

2022/12/15

Run a raw sql query/command via EF Core

2022/11/25

Run a raw sql query/command via EF 6

2022/11/01

Grpc web getting error _google.protobuf.Empty is not defined.

2022/10/10

Json.NET : Serialization handling of DateTimeOffset

2022/09/15

© 2023 Leonidas Simopoulos's blog

Powered by Hugo, Theme Blonde.