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

            entity.rowidGlif = row.Field <byte[]>("rowid-glif").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 UpdateRowFromGlifdetailbannercriteria(ref DataRow row, Glifdetailbannercriteria entity)
 {
     row.SetField("rowid-glif", entity.rowidGlif.ToByteArray());
     row.SetField("userfield", entity.userfield);
 }