コード例 #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);
 }