Exemplo n.º 1
0
 /// <summary>
 /// Populates the fields of a single objects from the columns found in an open reader.
 /// </summary>
 /// <param name="obj" type="BDRefuseReason">Object of BDRefuseReason to populate</param>
 /// <param name="rdr" type="IDataReader">An object that implements the IDataReader interface</param>
 ///
 /// <remarks>
 ///
 /// <RevisionHistory>
 /// Author				Date			Description
 /// DLGenerator			12/27/2014 6:55:54 PM		Created function
 ///
 /// </RevisionHistory>
 ///
 /// </remarks>
 ///
 internal static void PopulateObjectFromReader(BDRefuseReasonBase obj, IDataReader rdr)
 {
     obj.RefuseReasonID   = rdr.GetInt32(rdr.GetOrdinal(BDRefuseReasonFields.RefuseReasonID));
     obj.RefuseReasonName = rdr.GetString(rdr.GetOrdinal(BDRefuseReasonFields.RefuseReasonName));
 }
Exemplo n.º 2
0
		/// <summary>
		/// Populates the fields of a single objects from the columns found in an open reader.
		/// </summary>
		/// <param name="obj" type="BDRefuseReason">Object of BDRefuseReason 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:05 PM		Created function
		/// 
		/// </RevisionHistory>
		///
		/// </remarks>
		///
		internal static void PopulateObjectFromReader(BDRefuseReasonBase obj,IDataReader rdr) 
		{

			obj.RefuseReasonID = rdr.GetInt32(rdr.GetOrdinal(BDRefuseReasonFields.RefuseReasonID));
			obj.RefuseReasonName = rdr.GetString(rdr.GetOrdinal(BDRefuseReasonFields.RefuseReasonName));

		}