I have a grid that is suddenly showing errors in VS2015, but the code compiles and runs exactly as expected. I've included a screenshot... The error isn't all that helpful really, saying the data type cannot be inferred... Could someone tell me what I can do to resolve these errors? Again, they're not really errors since the grid runs as expected when the app is deployed.
The class the grid is using:
public
class
UploadedDocument
{
public
UploadedDocument();
public
string
CaseId {
get
;
set
; }
public
string
ClientId {
get
;
set
; }
public
string
DocketNumber {
get
;
set
; }
public
int
DocumentSource {
get
;
set
; }
public
virtual
DocumentSource DocumentSource1 {
get
;
set
; }
public
string
EmployeeId {
get
;
set
; }
public
string
FirstName {
get
;
set
; }
public
int
Id {
get
;
set
; }
public
string
LastName {
get
;
set
; }
public
bool
Matched {
get
;
set
; }
public
string
Name {
get
;
set
; }
public
DateTime OrderDate {
get
;
set
; }
public
string
SSN {
get
;
set
; }
public
string
Type {
get
;
set
; }
public
DateTime UploadDate {
get
;
set
; }
}
I'm not using any data annotations because the class in question is a generated POCO. The other odd thing is that these weren't highlighting as errors earlier in the day... Since it compiles, I guess it's not a big deal, but I'm wary of them...