示例#1
0
 public void DeleteMessage(Message t)
 {
     using (var ctx = DataContext.Instance())
     {
         var rep = ctx.GetRepository<Message>();
         rep.Delete(t);
     }
 }
示例#2
0
        public void DeleteMessage(Message t)
        {
            //not currently being used, but still available
            using (var ctx = DataContext.Instance())
            {
                var rep = ctx.GetRepository<Message>();

                rep.Delete(t);
            }
        }