IDbSetInitializer IDbSetInitializer Interface

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 interface IDbSetInitializerPublic Interface IDbSetInitializer

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.

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.

    DbSet<TEntity> CreateSet<TEntity>(DbContext context)where TEntity : classFunction 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.

    void InitializeSets(DbContext context)Sub InitializeSets(context As DbContext)

    Parameters

Details

Assembly

Microsoft.EntityFrameworkCore.dll