예제 #1
0
        public static Getedilinedataresults BuildGetedilinedataresultsFromRow(DataRow row)
        {
            Getedilinedataresults entity = new Getedilinedataresults();

            entity.edilineno   = row.IsNull("edilineno") ? string.Empty : row.Field <string>("edilineno");
            entity.edicustprod = row.IsNull("edicustprod") ? string.Empty : row.Field <string>("edicustprod");
            return(entity);
        }
예제 #2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromGetedilinedataresults(ref DataRow row, Getedilinedataresults entity)
 {
     row.SetField("edilineno", entity.edilineno);
     row.SetField("edicustprod", entity.edicustprod);
 }