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

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)

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

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

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object