Sharepoint 2013 - 来自SPMetal的类有错误类型'Categoria0'必须是不可为空的值类型

时间:2013-09-23 18:54:56

标签: c# linq sharepoint-2013

我有一个来自SPMetal的类使用LINQ查询,但是这个类有错误,这个错误发生在c#Visual Studio的部署中。 我在变量status2中有错误:

[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[Microsoft.SharePoint.Linq.RemovedColumnAttribute()]
public override System.Nullable<Categoria0> Categoria2 {
    get {
        throw new System.InvalidOperationException("Field GbwCategory was removed from content type Vídeo.");
    }
    set {
        throw new System.InvalidOperationException("Field GbwCategory was removed from content type Vídeo.");
    }
}

0 个答案:

没有答案