16 lines
No EOL
532 B
C#
16 lines
No EOL
532 B
C#
// using Microsoft.EntityFrameworkCore;
|
|
// using Microsoft.Extensions.Configuration;
|
|
|
|
// namespace Sledgemapper.Helpers
|
|
// {
|
|
// public class SqliteDataContext : DataContext
|
|
// {
|
|
// public SqliteDataContext(IConfiguration configuration) : base(configuration) { }
|
|
|
|
// protected override void OnConfiguring(DbContextOptionsBuilder options)
|
|
// {
|
|
// // connect to sqlite database
|
|
// options.UseSqlite(Configuration.GetConnectionString("WebApiDatabase"));
|
|
// }
|
|
// }
|
|
// } |