Hi,
I have two entities as follows. I wonder if I can remove duplicates based on referenceId?
I have two entities as follows. I wonder if I can remove duplicates based on referenceId?
C#:
public class Recon
{
public int id { get; set; }
public DateTime? reconDateTime { get; set; } = DateTime.Now;
public List<ReconDetail> ReconDetails { get; set; } = new List<ReconDetail>();
}
public class ReconDetail
{
public int id { get; set; }
public int ReconId { get; set; }
public Guid referenceId { get; set; }
public string status { get; set; } = "OK";
}