예제 #1
0
 public void AddAll(Fish[] fishes)
 {
     foreach (var fish in fishes)
     {
         session.Save(fish);
     }
 }
예제 #2
0
 public void Update(Fish project)
 {
     session.Update(project);
 }
예제 #3
0
 public void Remove(Fish project)
 {
     session.Delete(project);
 }
예제 #4
0
 public void Add(Fish fish)
 {
     session.Save(fish);
 }