GuidValueGenerator Class
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.
public class GuidValueGenerator : Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator<Guid>
type GuidValueGenerator = class
inherit ValueGenerator<Guid>
Public Class GuidValueGenerator
Inherits ValueGenerator(Of Guid)
- Inheritance
- Derived
See EF Core value generation for more information and examples.
Generates |
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. (Inherited from ValueGenerator) |
Generates |
Gets a value indicating whether the values generated are temporary or permanent. This implementation always returns false, meaning the generated values will be saved to the database. |
Next(Entity |
Gets a value to be assigned to a property. |
Next |
Template method to be overridden by implementations to perform value generation. (Inherited from ValueGenerator<TValue>) |
Next |
Gets a value to be assigned to a property. (Inherited from ValueGenerator<TValue>) |
Next |
Gets a value to be assigned to a property. (Inherited from ValueGenerator<TValue>) |
With |
Wraps this ValueGenerator such that it processes values converted with the given ValueConverter. (Inherited from ValueGenerator) |
منتج | الإصدارات |
---|---|
Entity Framework Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
ملاحظات Entity Framework
Entity Framework هو مشروع مصدر مفتوح. حدد رابطًا لتقديم الملاحظات: