コード例 #1
0
 /// <summary>
 /// delete by primary key
 /// </summary>
 /// <param name="keys">primary key</param>
 /// <returns>true for succesfully deleted</returns>
 public bool Delete(clsSongsKeys keys)
 {
     return(_dataObject.Delete(keys));
 }
コード例 #2
0
 /// <summary>
 /// get clsSongs by primary key.
 /// </summary>
 /// <param name="keys">primary key</param>
 /// <returns>Student</returns>
 public clsSongs GetByPrimaryKey(clsSongsKeys keys)
 {
     return(_dataObject.SelectByPrimaryKey(keys));
 }