public bool UpdatePayPeriodType(PayPeriodType payPeriodType) { throw new NotImplementedException(); }
public int AddPayPeriodType(PayPeriodType payPeriodType) { throw new NotImplementedException(); }
public PayPeriodType GetPayPeriodType(int payPeriodTypeID) { OleDbCommand odCom = BuildSelectCmd("PayPeriodType", "*", "ID=@ID", new object[] { "@ID", payPeriodTypeID }); OleDbDataReader odRdr = odCom.ExecuteReader(); PayPeriodType payPeriodType = null; if (odRdr.Read()) { payPeriodType = new PayPeriodType(); payPeriodType.ID = Convert.ToInt16(odRdr["ID"]); payPeriodType.Name = odRdr["Name"].ToString(); } odRdr.Close(); return payPeriodType; }