示例#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();
 }
示例#2
0
 public PhoneInput( Phone model )
 {
     this.Number = model.Number;
     this.Carrier = model.Carrier.RID;
 }