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

            entity.rowidPoerah = row.Field <byte[]>("rowid-poerah").ToStringEncoded();
            entity.mergefl     = row.Field <bool>("mergefl");
            return(entity);
        }
Пример #2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromPorrarreptadjmergerepts(ref DataRow row, Porrarreptadjmergerepts entity)
 {
     row.SetField("rowid-poerah", entity.rowidPoerah.ToByteArray());
     row.SetField("mergefl", entity.mergefl);
 }