Пример #1
0
        public static Kpiwloadheadercriteria BuildKpiwloadheadercriteriaFromRow(DataRow row)
        {
            Kpiwloadheadercriteria entity = new Kpiwloadheadercriteria();

            entity.wono  = row.IsNull("wono") ? 0 : row.Field <int>("wono");
            entity.wosuf = row.IsNull("wosuf") ? 0 : row.Field <int>("wosuf");
            return(entity);
        }
Пример #2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromKpiwloadheadercriteria(ref DataRow row, Kpiwloadheadercriteria entity)
 {
     row.SetField("wono", entity.wono);
     row.SetField("wosuf", entity.wosuf);
 }