当我生成Designer.cs时,我的容器类中有5个错误:每个ObjectSet已经定义,但我找不到另一个定义。
代码:
public ObjectSet<gab> gabSet
{
get
{
if ((_gabSet == null))
{
_gabSet = base.CreateObjectSet<gab>("gabSet");
}
return _gabSet;
}
}
错误:
错误2类型&#39; DataBaseGabbler.DBContainer&#39;已包含&#39; gabSet&#39;的定义C:\ Users \ black_000 \ Documents \ Visual Studio 2013 \ Projects \ Gabbler \ DataBaseGabbler \ DB.Designer.cs 91 31 DataBaseGabbler