0

See the following entity class:

[Table("order")]
public class McaTransaction : IValidatableObject
{
    [Key]
    [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
    public decimal Id { get; set; }
    [Obsolete("Remove as we should not be linking this data back to the CMS")]
    public int SiteNodeId { get; set; }
    public string PartnerCode { get; set; }
    public string PartnerName { get; set; }
    public DateTime DateCreated { get; set; } 
}

Whenever I try to add the 'SiteNodeId' in the filter criteria (or where clause), it throws the error that 'SiteNodeId' is obsolete.

I do not understand, does that mean that I cannot filter the records on the basis of 'SiteNodeId'?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
joy
  • 47
  • 1
  • 5

0 Answers0