예제 #1
0
 /// <summary>
 /// get CModule by primary key.
 /// </summary>
 /// <param name="keys">primary key</param>
 /// <returns>Student</returns>
 public CModule GetByPrimaryKey(CModuleKeys keys)
 {
     return(_dataObject.SelectByPrimaryKey(keys));
 }
예제 #2
0
 /// <summary>
 /// delete by primary key
 /// </summary>
 /// <param name="keys">primary key</param>
 /// <returns>true for succesfully deleted</returns>
 public bool Delete(CModuleKeys keys)
 {
     return(_dataObject.Delete(keys));
 }