/// <summary> /// Populates the fields of a single objects from the columns found in an open reader. /// </summary> /// <param name="obj" type="PaymentType">Object of PaymentType to populate</param> /// <param name="rdr" type="IDataReader">An object that implements the IDataReader interface</param> /// /// <remarks> /// /// <RevisionHistory> /// Author Date Description /// DLGenerator 3/7/2015 2:37:22 PM Created function /// /// </RevisionHistory> /// /// </remarks> /// internal static void PopulateObjectFromReader(PaymentTypeBase obj, IDataReader rdr) { obj.PaymentTypeID = rdr.GetInt32(rdr.GetOrdinal(PaymentTypeFields.PaymentTypeID)); obj.PaymentTypeName = rdr.GetString(rdr.GetOrdinal(PaymentTypeFields.PaymentTypeName)); }
/// <summary> /// Populates the fields of a single objects from the columns found in an open reader. /// </summary> /// <param name="obj" type="PaymentType">Object of PaymentType to populate</param> /// <param name="rdr" type="IDataReader">An object that implements the IDataReader interface</param> /// /// <remarks> /// /// <RevisionHistory> /// Author Date Description /// DLGenerator 3/7/2015 2:37:22 PM Created function /// /// </RevisionHistory> /// /// </remarks> /// internal static void PopulateObjectFromReader(PaymentTypeBase obj,IDataReader rdr) { obj.PaymentTypeID = rdr.GetInt32(rdr.GetOrdinal(PaymentTypeFields.PaymentTypeID)); obj.PaymentTypeName = rdr.GetString(rdr.GetOrdinal(PaymentTypeFields.PaymentTypeName)); }