public static Porrarreptfullrefreshrunrpts BuildPorrarreptfullrefreshrunrptsFromRow(DataRow row) { Porrarreptfullrefreshrunrpts entity = new Porrarreptfullrefreshrunrpts(); entity.reportno = row.IsNull("reportno") ? 0 : row.Field <int>("reportno"); return(entity); }
/// <summary> /// Update a database row from a class /// </summary> public static void UpdateRowFromPorrarreptfullrefreshrunrpts(ref DataRow row, Porrarreptfullrefreshrunrpts entity) { row.SetField("reportno", entity.reportno); }