Skip to content

Concurrency Field - Not Reacting to Parameters Changing #378

@crazyfox55

Description

@crazyfox55

protected override void OnInitialized()
{
if (Property is not null && DbModel is not null)
{
property = Property(DbModel);
if (Model is not null && property is not null)
{
IsDelta = !Property(Model).Equals(property);
}
}
}

This should be using the OnParametersSet, such that when the DbModel changes the property is checked again. Also none of the properties of the Contact have ConcurrencyCheck attributes, so the newest EF core will not automatically fail. I suggest adding the ConcurrencyCheck attribute to at least one property or every property because the UI implies the whole object is checked for concurrency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions