We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码位置:/.Net6版本/VOL.Core/BaseProvider/RepositoryBase.cs : 374 描述:内层的foreach似乎没有对值进行任何修改,foreach内部的两个变量不知有何作用,也看不出对变量'databaseValues'的任何修改
foreach (var entry in ex.Entries) { var proposedValues = entry.CurrentValues; var databaseValues = entry.GetDatabaseValues(); //databaseValues == null说明数据已被删除 if (databaseValues != null) { foreach (var property in properties == null || properties. Length == 0 ? proposedValues.Properties : proposedValues.Properties.Where(x => properties.Contains(x.Name))) { var proposedValue = proposedValues[property]; var databaseValue = databaseValues[property]; } affectedRows++; entry.OriginalValues.SetValues(databaseValues); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
代码位置:/.Net6版本/VOL.Core/BaseProvider/RepositoryBase.cs : 374
描述:内层的foreach似乎没有对值进行任何修改,foreach内部的两个变量不知有何作用,也看不出对变量'databaseValues'的任何修改
The text was updated successfully, but these errors were encountered: