C#C
C#4y ago
Alizer

Does DbSet.FirstOrDefaultAsync return a tracked entity?

I have the following code below
var existingCreator = await _dbContext.ContentCreators.FirstOrDefaultAsync(x => x.Name == creator.Name);


is changing properties inside existingCreator going to also change the record inside the sql server?
Was this page helpful?