using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Consulenza.ReportArchive.Entity { public class RicercaPdf { public long IdPdf {get;set;} public string IdProvenienza { get; set; } public int[] IdModello { get; set; } public string IdStato { get; set; } public string IdArchivio { get; set; } public string CodicePb { get; set; } public DateTime DtInizio { get; set; } public DateTime DtFine { get; set; } public string CodiceContratto { get; set; } public long ChiaveNucleo { get; set; } public long ChiaveClientePb { get; set; } public string ChiaveProposta { get; set; } public string PropostaBase { get; set; } public static string idModelli(int[] IdModello) { string ris = ""; string token = ""; if (IdModello != null) foreach (int id in IdModello) { ris += token + id; token = ","; } return ris; } } }