Exemple #1
0
        public static Kpoptionlookupcriteria BuildKpoptionlookupcriteriaFromRow(DataRow row)
        {
            Kpoptionlookupcriteria entity = new Kpoptionlookupcriteria();

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