Example #1
0
        public Guid Add(Guid customerid, string url)
        {
            var item = new TEST();

            item.Id         = Guid.NewGuid();
            item.CustomerId = customerid;
            item.Url        = url;
            item.CreateDate = DateTime.Now;

            using (WeHeMoDataContext dc = new WeHeMoDataContext())
            {
                dc.TESTs.InsertOnSubmit(item);
                dc.SubmitChanges();
            }
            return(item.Id);
        }
Example #2
0
 private void detach_TESTs(TEST entity)
 {
     this.SendPropertyChanging();
     entity.STATUS_CODE = null;
 }
Example #3
0
 private void attach_TESTs(TEST entity)
 {
     this.SendPropertyChanging();
     entity.STATUS_CODE = this;
 }
Example #4
0
 partial void DeleteTEST(TEST instance);
Example #5
0
 partial void UpdateTEST(TEST instance);
Example #6
0
 partial void InsertTEST(TEST instance);
Example #7
0
 private void detach_TESTs(TEST entity)
 {
     this.SendPropertyChanging();
     entity.CUSTOMER = null;
 }
Example #8
0
 private void attach_TESTs(TEST entity)
 {
     this.SendPropertyChanging();
     entity.CUSTOMER = this;
 }