DbSetInitializer DbSetInitializer Class

Definition

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 class DbSetInitializer : IDbSetInitializer
Public Class DbSetInitializer
    Implements IDbSetInitializer
Inheritance
System.ObjectSystem.Object
DbSetInitializerDbSetInitializer
Implements

Inherited Members

System.Object

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

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(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 : class
Public Overridable Function CreateSet(Of TEntity As Class)(context As DbContext) As DbSet(Of TEntity)
Type Parameters
TEntity
Parameters
Returns
DbSet<TEntity> DbSet(Of TEntity)

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