python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
in Linq replace null to empty
var ch = _context.xxtu_nintex_emp_data_v
.Where(o => o.LOGIN_USER_NAME ==userId.ToUpper())
.Select(emp => new
{ OTHERMOBILENO = emp.OTHERMOBILENO ?? "" })
...
sp 4_4
Votes: 0
Answers: 1
Database AutoMigration in .NET 6
I'm rewriting a simple application that uses Asp.NET 5. but now I'm using Asp.NET 6 for the new version of my app. Quick question: what's the replacement of database auto migration (like below in .NET...

happykratos
Votes: 0
Answers: 2
There is already an object named 'AspNetRoles' in the database. in asp.net core 3.1
It turns out that I want to perform a migration but I don't want to lose the data in the database and when trying to update my database I receive the following error:
It should be said that I am using...

Deybi Tabora Paz
Votes: 0
Answers: 1
Entity Framework Core seed data only if it does not exist
Entity Framework Migrations provide a way to seed data along with the creation of the table by using .HasData() on the Entity Type.
This will translate into a Migration with calls to MigrationBuilder....

Markus S.
Votes: 0
Answers: 0