46c34f46e8
* WIP signalauth * Fist commit server config
25 lines
608 B
C#
25 lines
608 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data.Entity;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Step.Model;
|
|
using MySql.Data.Entity;
|
|
|
|
namespace Step.Database
|
|
{
|
|
[DbConfigurationType(typeof(MySqlEFConfiguration))]
|
|
public class DatabaseContext : DbContext
|
|
{
|
|
public DbSet<UserModel> Users { get; set; }
|
|
public DbSet<RoleModel> Roles { get; set; }
|
|
public DbSet<AccessCategoryModel> AccessCategories { get; set; }
|
|
|
|
public DatabaseContext()
|
|
: base("mySQLDatabaseConnection")
|
|
{
|
|
}
|
|
}
|
|
}
|