Added MariaDB and fanuc tool managing
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using MySql.Data.Entity;
|
||||
using System.Data.Entity;
|
||||
using static CMS_CORE_Application.ToolDatabase.ToolModels;
|
||||
|
||||
namespace CMS_CORE_Application.ToolDatabase
|
||||
{
|
||||
[DbConfigurationType(typeof(MySqlEFConfiguration))]
|
||||
|
||||
public class ToolDatabaseContext : DbContext
|
||||
{
|
||||
public DbSet<ToolModel> Tools { get; set; }
|
||||
public DbSet<ShankModel> Shanks { get; set; }
|
||||
public DbSet<FamilyModel> Family { get; set; }
|
||||
public DbSet<ManinaModello> Manine { get; set; }
|
||||
|
||||
public ToolDatabaseContext() : base("mySQLDatabaseConnection")
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user