using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Text;
namespace DG.EntityFramework
{
///
/// Entity Framework Core Options
///
public class EFCoreOptions
where TDbContext : DbContext
{
///
/// Gets or sets the database's connection string that will be used to store database entities.
///
public string ConnectionString { get; set; }
///
///
///
public DbConnection ExistingConnection { get; internal set; }
///
///
///
public DbContextOptionsBuilder DbContextOptions { get; }
internal string Version { get; set; }
public EFCoreOptions()
{
DbContextOptions = new DbContextOptionsBuilder();
Version = "1.0.0";
}
}
}