When does EF Core use the equals method of an entity? -
when have id
property of type int
, ef seems ignore equals
method. when use guid
instead, ef uses equals
method.
is there general rule when ef core use equals
method of entity?
when have id
property of type int
, ef seems ignore equals
method. when use guid
instead, ef uses equals
method.
is there general rule when ef core use equals
method of entity?
Comments
Post a Comment