Exemplo n.º 1
0
Arquivo: WoWCore.cs Projeto: duylt/wow
 public bool AddMessage(Message message)
 {
     using (var entity = new WakeOrWasteEntities())
     {
         entity.Configuration.ProxyCreationEnabled = false;
         var rs = entity.Messages.Add(message);
         entity.SaveChanges();
         return rs != null;
     }
 }
Exemplo n.º 2
0
Arquivo: WoWCore.cs Projeto: duylt/wow
 public bool UpdateMessage(Message message)
 {
     throw new NotImplementedException();
 }