using InterfaceForward.Repositories.ServiceProvider.Entitys; namespace InterfaceForward.Repositories.ServiceProvider.Services; public class FixedParameterRepository : BasicRepository, IFixedParameterRepository, IScopedDependency { public async Task UpdateFieldAsync(FixedParameterEntity entity) { await Context.Updateable(entity) .IgnoreColumns(x => new {x.ServiceProviderId, x.InterfaceId}) .IgnoreColumns(ignoreAllNullColumns:true, ignoreAllDefaultValue:true) .ExecuteCommandAsync(); } }