Esempio n. 1
0
 public PhoneView(Phone Phone)
     : base(Phone.RID)
 {
     this.Number = Phone.Number;
     if(Phone.Carrier != null)
         this.Carrier = new CarrierView(Phone.Carrier);
     else
         this.Carrier = new CarrierView();
 }
Esempio n. 2
0
 public PhoneInput( Phone model )
 {
     this.Number = model.Number;
     this.Carrier = model.Carrier.RID;
 }