コード例 #1
0
 /// <summary>
 /// Inizializza le properties.
 /// </summary>
 private void Init()
 {
     Cognome        = string.Empty;
     Nome           = string.Empty;
     CodiceFiscale  = string.Empty;
     PartitaIVA     = string.Empty;
     TipoEntita     = default(SendMail.Model.EntitaType);
     RagioneSociale = string.Empty;
     Ufficio        = string.Empty;
     Mail           = string.Empty;
     Fax            = string.Empty;
     Telefono       = string.Empty;
     Recapito       = new Indirizzo();
     ToRubrica      = true;
 }
コード例 #2
0
 public Nominativo(decimal Id, string Cognome, string Nome, string CodiceFiscale, string PartitaIVA, SendMail.Model.EntitaType TipoEntita, string RagioneSociale, string Ufficio, string Mail, string Fax, string Telefono, Indirizzo Indirizzo)
 {
     this.Cognome        = Cognome;
     this.Nome           = Nome;
     this.CodiceFiscale  = CodiceFiscale;
     this.PartitaIVA     = PartitaIVA;
     this.TipoEntita     = TipoEntita;
     this.RagioneSociale = RagioneSociale;
     this.Ufficio        = Ufficio;
     this.Mail           = Mail;
     this.Fax            = Fax;
     this.Telefono       = Telefono;
     this.Recapito       = Indirizzo;
     this.Id             = Id;
 }