Пример #1
0
 public void InsertOrUpdate(Cow entity)
 {
     throw new NotImplementedException();
 }
Пример #2
0
 public void Edit(object id, Cow entity)
 {
     throw new NotImplementedException();
 }
Пример #3
0
 public void Add(Cow entity)
 {
     Entities.SetAdd(entity);
 }
Пример #4
0
 public void Delete(Cow entity)
 {
     throw new NotImplementedException();
 }
Пример #5
0
 public void Update(Cow entity)
 {
     Entities.Set<Cow>().AddOrUpdate(entity);
     //Entities.SetModified(entity);
 }