Exemplo n.º 1
0
        public static Oeixdeletelist BuildOeixdeletelistFromRow(DataRow row)
        {
            Oeixdeletelist entity = new Oeixdeletelist();

            entity.oeixrowid = row.Field <byte[]>("oeixrowid").ToStringEncoded();
            entity.userfield = row.IsNull("userfield") ? string.Empty : row.Field <string>("userfield");
            return(entity);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromOeixdeletelist(ref DataRow row, Oeixdeletelist entity)
 {
     row.SetField("oeixrowid", entity.oeixrowid.ToByteArray());
     row.SetField("userfield", entity.userfield);
 }