Class KEFCoreIgnoreEquatableCheckAttribute
- Namespace
- MASES.EntityFrameworkCore.KNet.Metadata
- Assembly
- MASES.EntityFrameworkCore.KNet.dll
Suppresses the KEFCore equality check for this complex type.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = false)]
public sealed class KEFCoreIgnoreEquatableCheckAttribute : Attribute
- Inheritance
-
KEFCoreIgnoreEquatableCheckAttribute
- Inherited Members
Remarks
By default, KEFCore requires all complex types to implement IEquatable<T> or override Equals(object). Apply this attribute to opt out of this check when value equality is guaranteed by other means.