示例#1
0
        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();
        }
示例#2
0
 partial void DeleteConts(Conts instance);
示例#3
0
 partial void UpdateConts(Conts instance);
示例#4
0
 partial void InsertConts(Conts instance);