示例#1
0
        public static Porrarreptfullrefreshrunrpts BuildPorrarreptfullrefreshrunrptsFromRow(DataRow row)
        {
            Porrarreptfullrefreshrunrpts entity = new Porrarreptfullrefreshrunrpts();

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