private void btnAddPhoneSystemType_Click(object sender, EventArgs e) { var pst = new PhoneSystemType() { SysteTypeName = UcPhoneSystemTypes.AddText }; _repo.InsertOnSubmit(pst); _repo.SubmitChanges(); UcPhoneSystemTypes.AddText = ""; LoadPhoneSystemTypes(); }
partial void DeletePhoneSystemType(PhoneSystemType instance);
partial void UpdatePhoneSystemType(PhoneSystemType instance);
partial void InsertPhoneSystemType(PhoneSystemType instance);