Exemple #1
0
        public static Oeehrecentvisit BuildOeehrecentvisitFromRow(DataRow row)
        {
            Oeehrecentvisit entity = new Oeehrecentvisit();

            entity.headerkey = row.IsNull("headerkey") ? string.Empty : row.Field <string>("headerkey");
            entity.userfield = row.IsNull("userfield") ? string.Empty : row.Field <string>("userfield");
            return(entity);
        }
Exemple #2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromOeehrecentvisit(ref DataRow row, Oeehrecentvisit entity)
 {
     row.SetField("headerkey", entity.headerkey);
     row.SetField("userfield", entity.userfield);
 }