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
Table with no primary key produces an error in the generated file like below:
public virtual bool LoadByPrimaryKey(esSqlAccessType sqlAccessType, )
{
if (sqlAccessType == esSqlAccessType.DynamicSQL)
return LoadByPrimaryKeyDynamic();
else
return LoadByPrimaryKeyStoredProcedure();
}
Since we're working with a table with out any key here.. is it safe to simply remove this method from the generated file?
The text was updated successfully, but these errors were encountered:
jmarq143
changed the title
Creating generated code using entity space 2019 producing this error for tables with out a key.
Creating generated code using entity space 2019 producing this error for tables with out a primary key.
Jul 31, 2020
Yes, that is true, for now you will have to comment out those LoadByPrimaryKey() functions. EntitySpaces requires a primary key on a table in order to update data.
Table with no primary key produces an error in the generated file like below:
Since we're working with a table with out any key here.. is it safe to simply remove this method from the generated file?
The text was updated successfully, but these errors were encountered: