Update Xml with CS
This commit is contained in:
@@ -179,7 +179,10 @@ namespace Ewide.EntityFramework.Core
|
||||
data.Add(obj);
|
||||
}
|
||||
}
|
||||
modelBuilder.Entity(item.Key).HasData(data); ;
|
||||
if (data.Count>0)
|
||||
{
|
||||
modelBuilder.Entity(item.Key).HasData(data);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Data Source=localhost;Port=3306;Database=ewide;User ID=root;Password=a45683926;pooling=true;sslmode=none;CharSet=utf8;"
|
||||
"DefaultConnection": "Data Source=localhost;Port=3306;Database=ewide;User ID=root;Password=root;pooling=true;sslmode=none;CharSet=utf8;"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user