DbSetInitializer DbSetInitializer Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class DbSetInitializer : IDbSetInitializerPublic Class DbSetInitializer
    Implements IDbSetInitializer

Inheritance Hierarchy

  • System.Object
    System.Object
  • DbSetInitializer
    DbSetInitializer

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Constructors

  • DbSetInitializer(IDbSetFinder, IDbSetSource)
    DbSetInitializer(IDbSetFinder, IDbSetSource)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public DbSetInitializer(IDbSetFinder setFinder, IDbSetSource setSource)Public Sub New(setFinder As IDbSetFinder, setSource As IDbSetSource)

    Parameters

Methods

  • CreateSet<TEntity>(DbContext)
    CreateSet(Of TEntity)(DbContext)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual DbSet<TEntity> CreateSet<TEntity>(DbContext context)where TEntity : classPublic Overridable Function CreateSet(Of TEntity As Class)(context As DbContext) As DbSet(Of TEntity)

    Parameters

    Returns

  • InitializeSets(DbContext)
    InitializeSets(DbContext)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void InitializeSets(DbContext context)Public Overridable Sub InitializeSets(context As DbContext)

    Parameters

Details

Assembly

Microsoft.EntityFrameworkCore.dll