Multiple database use in one .NET service
I have different services for an application. For example identity service, lease service, payment service, notification service etc.
How can I detach an included navigation property in EF core?
I have the following code:
EF Core navigation property without foreign key relations
In my application using EF Core 8.0.7 with a code-first approach, I have a Content
table that contains application content based on language. The Content
table references records in parent entities through ParentId
, with each Content
record uniquely identified by the combination of Key
, ParentId
and LanguageId
.
EF Core: get product record for each SKU, pulling more than 1 if duplicated?
I have a method, which takes a string like ABCD
each letter is a product (A-D). How can I make products
pull 2 D products if the string is like ADD
?
EF Core: get product record for each SKU, pulling more than 1 if duplicated?
I have a method, which takes a string like ABCD
each letter is a product (A-D). How can I make products
pull 2 D products if the string is like ADD
?
Porting from EF6 with Migrations to EF Core 8 with Migrations
I’m running EF6 with Migrations in .NET8-Windows project right now. I run my migrations as a part of the startup of my service.
Unable to create an object of type ‘IdentityDataContext’
I’m encountering an issue while trying to update my database using Entity Framework Core in my .NET project. When I run the command:
.Net 8 Entity Framework returns null data when there is data in the table
In the lines below, the first line always returns a count and does it for every table.
How do I run EF Core ExecuteUpdateAsync and add a new entity as part of that update?
I’m running the code below but getting an exception on YogabandyFee
when running it.
what’s meaning of this sentence : “creating on the fly”
I heard this Sentence in a tutorial I was watching :
” it’ll read the context and determine what the database should look like, then go ahead
and create the database “on the fly” (EF core) “