﻿namespace Dike.EntityFrameworkCore.Repositories
{
    using System;
    using System.Collections.Generic;

    /// <summary>
    /// Implement this interface to get entity type informations.
    /// </summary>
    public interface IDbContextEntityFinder
    {
        #region Methods

        /// <summary>
        /// Gets the entity type infos.
        /// </summary>
        /// <param name="dbContextType">Type of the database context.</param>
        /// <returns>An list of entity type infos.</returns>
        IEnumerable<Core.Domain.Entities.EntityTypeInfo> GetEntityTypeInfos(Type dbContextType);

        #endregion Methods
    }
}