Skip to content Skip to sidebar Skip to footer
Showing posts with the label Entity Framework

Getting An Sql Connection String Error When Scaffolding In Ef Core?

For background info, I'm running .NET core on Arch Linux VScode and I also have SQL Server runn… Read more Getting An Sql Connection String Error When Scaffolding In Ef Core?

Reinstantiating Ef Classes With One-to-many Relationship And Compound Key Of Strings

I have the following EF Code First classes, which appear to be working to a point. I also have Ini… Read more Reinstantiating Ef Classes With One-to-many Relationship And Compound Key Of Strings

Updating Sql Bit Column From Entity Framework

I'm having an issue updating a 'bit' column in a SQL database, using C# and Entity Fram… Read more Updating Sql Bit Column From Entity Framework

Updating Entity Framework Model

I have just started using EF and found it cool, but I ran into a problem, Problem: I changed my DB … Read more Updating Entity Framework Model

Cannot Insert The Value Null Into Column ... When The Value Is Not Null

in my c# code I have an insert into my DB, but it throws an exception Cannot insert the value NUL… Read more Cannot Insert The Value Null Into Column ... When The Value Is Not Null

Database-first Approach In Entity Framework Without Auto Generated Code

I wonder, if there is any way , to use Database-first approach with manually generated classes (mod… Read more Database-first Approach In Entity Framework Without Auto Generated Code

Ef6 Does Not Generate Foreign Key Association From Database

PROBLEM: I am trying to create a EF6 model using the database first approach. Simply speaking, I ha… Read more Ef6 Does Not Generate Foreign Key Association From Database

Ef Core Fix-up When Querying Subset Of Columns

From the documentation: Entity Framework Core will automatically fix-up navigation properties to a… Read more Ef Core Fix-up When Querying Subset Of Columns