Ejemplo n.º 1
0
 /// <summary>
 /// get BENH by primary key.
 /// </summary>
 /// <param name="keys">primary key</param>
 /// <returns>Student</returns>
 public BENH GetByPrimaryKey(BENHKeys keys)
 {
     return(_dataObject.SelectByPrimaryKey(keys));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// delete by primary key
 /// </summary>
 /// <param name="keys">primary key</param>
 /// <returns>true for succesfully deleted</returns>
 public bool Delete(BENHKeys keys)
 {
     return(_dataObject.Delete(keys));
 }