DBModel - auto generta insert sql statment, rewrite some mothode to support control of database connection