Exemple #1
0
 public int Add(Cattle cattle)
 {
     db.Entry(cattle).State = EntityState.Added;
     return(db.SaveChanges());
 }
Exemple #2
0
 public int Add(Ranch ranch)
 {
     db.Entry(ranch).State = EntityState.Added;
     return(db.SaveChanges());
 }
Exemple #3
0
 public int Add(Insemination insemination)
 {
     db.Entry(insemination).State = EntityState.Added;
     return(db.SaveChanges());
 }
Exemple #4
0
 public int Add(Milk milk)
 {
     db.Entry(milk).State = EntityState.Added;
     return(db.SaveChanges());
 }
Exemple #5
0
 public int Add(Token token)
 {
     db.Entry(token).State = EntityState.Added;
     return(db.SaveChanges());
 }