You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validate the table name with SetNaming extension method, avoid duplicated tables in database.
Example:
// First entityvarcategory= db
.DefineEntity(new{
Id =0,
Name =""}).SetNaming("Category");// Second entityvarproduct= db
.DefineEntity(new{
Id =0,
Name ="",
CategoryId =0}).SetNaming("Category")// The 'Category' entity already exists in db instance;
The text was updated successfully, but these errors were encountered:
Validate the table name with
SetNaming
extension method, avoid duplicated tables in database.Example:
The text was updated successfully, but these errors were encountered: