示例#1
0
 public void UpdateAdvert(sporteventstable advert)
 {
     //context.Entry(advert).State = EntityState.Modified;
 }
示例#2
0
 public void InsertAdvert(sporteventstable advert)
 {
     context.sporteventstables.Add(advert);
 }