Пример #1
0
 public Wire AddCustomWire(Wire w, WireAttenuation wa)
 {
     this.rep.Insert(w);
     rep.Commit();
     wa.wire_id = w.id;
     this.wam.AddCustomWireAttenuation(wa);
     return(w);
 }
Пример #2
0
 public WireAttenuation AddCustomWireAttenuation(WireAttenuation wa)
 {
     this.rep.Insert(wa);
     rep.Commit();
     return(wa);
 }