public void Insert() { LoginModel aLogin = new LoginModel(); contsDataContext aDataContext = new contsDataContext(ConnectionString); Conts aNewConts = new Conts { id = "131", name = Name, mobile = Mobile, birth = Birth, sex = Sex, memo = Memo }; aDataContext.Conts.InsertOnSubmit(aNewConts); aDataContext.SubmitChanges(); }
partial void DeleteConts(Conts instance);
partial void UpdateConts(Conts instance);
partial void InsertConts(Conts instance);