public static Appocostingcriteria BuildAppocostingcriteriaFromRow(DataRow row)
        {
            Appocostingcriteria entity = new Appocostingcriteria();

            entity.jrnlno      = row.IsNull("jrnlno") ? 0 : row.Field <int>("jrnlno");
            entity.setno       = row.IsNull("setno") ? 0 : row.Field <int>("setno");
            entity.customparam = row.IsNull("customparam") ? string.Empty : row.Field <string>("customparam");
            return(entity);
        }
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromAppocostingcriteria(ref DataRow row, Appocostingcriteria entity)
 {
     row.SetField("jrnlno", entity.jrnlno);
     row.SetField("setno", entity.setno);
     row.SetField("customparam", entity.customparam);
 }