示例#1
0
文件: WoWCore.cs 项目: 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;
     }
 }
示例#2
0
文件: WoWCore.cs 项目: duylt/wow
 public bool UpdateDonation(Donation donation)
 {
     throw new NotImplementedException();
 }