コード例 #1
0
 public void SaveEntity(object obj)
 {
     Cnxt.Add(obj);
 }
コード例 #2
0
 public bool SaveAll()
 {
     return(Cnxt.SaveChanges() > 0);
 }