创建了PLC相关的文件
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace PMSWPF.Data
|
||||
{
|
||||
internal class DbContext
|
||||
public class DbContext
|
||||
{
|
||||
private static SqlSugarClient _db;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace PMSWPF.Data
|
||||
{
|
||||
if (_db == null)
|
||||
{
|
||||
string connectionString = "server=127.0.0.1;port=3306;user=root;password=Pgw15221236646; database=PMS;";
|
||||
string connectionString = "server=127.0.0.1;port=3306;user=root;password=Pgw15221236646; database=pmswpf;";
|
||||
_db = new SqlSugarClient(new ConnectionConfig()
|
||||
{
|
||||
ConnectionString = connectionString,
|
||||
|
||||
Reference in New Issue
Block a user