Exemplo n.º 1
0
Arquivo: WoWCore.cs Projeto: duylt/wow
 public bool AddDonation(Donation donation)
 {
     using (var entity = new WakeOrWasteEntities())
     {
         entity.Configuration.ProxyCreationEnabled = false;
         var rs = entity.Donations.Add(donation);
         entity.SaveChanges();
         return rs != null;
     }
 }
Exemplo n.º 2
0
Arquivo: WoWCore.cs Projeto: duylt/wow
 public bool UpdateDonation(Donation donation)
 {
     throw new NotImplementedException();
 }