Ejemplo n.º 1
0
        public static Wtrrarreptmergerunrepts BuildWtrrarreptmergerunreptsFromRow(DataRow row)
        {
            Wtrrarreptmergerunrepts entity = new Wtrrarreptmergerunrepts();

            entity.rowidWterah = row.Field <byte[]>("rowid-wterah").ToStringEncoded();
            entity.userfield   = row.IsNull("userfield") ? string.Empty : row.Field <string>("userfield");
            return(entity);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromWtrrarreptmergerunrepts(ref DataRow row, Wtrrarreptmergerunrepts entity)
 {
     row.SetField("rowid-wterah", entity.rowidWterah.ToByteArray());
     row.SetField("userfield", entity.userfield);
 }