ValueGenerator.GeneratesStableValues Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the values generated are stable. That is, the value will always be the same for a given property in a given entity, and does not depend on what other values may have been generated previously. For example, discriminator values generated for a TPH hierarchy are stable. Stable values will never be marked as unknown.
public virtual bool GeneratesStableValues { get; }
member this.GeneratesStableValues : bool
Public Overridable ReadOnly Property GeneratesStableValues As Boolean
Property Value
Remarks
See EF Core value generation for more information and examples.
Applies to
Entity Framework