DiscriminatorValueGeneratorFactory Class
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.
A factory that creates value generators for the discriminator property that always outputs the discriminator value for the given entity type.
public class DiscriminatorValueGeneratorFactory : Microsoft.EntityFrameworkCore.ValueGeneration.ValueGeneratorFactory
type DiscriminatorValueGeneratorFactory = class
inherit ValueGeneratorFactory
Public Class DiscriminatorValueGeneratorFactory
Inherits ValueGeneratorFactory
- Inheritance
Remarks
See EF Core value generation for more information and examples.
Constructors
DiscriminatorValueGeneratorFactory() |
Methods
Create(IProperty, IEntityType) |
Creates a new value generator. |
Create(IProperty, IEntityType) |
Creates a new value generator. (Inherited from ValueGeneratorFactory) |
Create(IProperty, ITypeBase) |
Creates a new value generator. |
Create(IProperty, ITypeBase) |
Creates a new value generator. (Inherited from ValueGeneratorFactory) |
Create(IProperty) |
Obsolete.
Creates a new value generator. (Inherited from ValueGeneratorFactory) |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework