/// <summary> /// get CControl_sample by primary key. /// </summary> /// <param name="keys">primary key</param> /// <returns>Student</returns> public CControl_sample GetByPrimaryKey(CControl_sampleKeys keys) { return(_dataObject.SelectByPrimaryKey(keys)); }
/// <summary> /// delete by primary key /// </summary> /// <param name="keys">primary key</param> /// <returns>true for succesfully deleted</returns> public bool Delete(CControl_sampleKeys keys) { return(_dataObject.Delete(keys)); }