17 lines
373 B
C#
17 lines
373 B
C#
using Church.Net.DAL.EF;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Church.Net.DAL.EFCoreDBF
|
|
{
|
|
public class DatabaseOptions
|
|
{
|
|
public string ConnectionString { get; set; }
|
|
|
|
public ChurchNetContext GetDbContext() => new ChurchNetContext(ConnectionString);
|
|
}
|
|
}
|