public function doInsert() { $tbl = $this->_resource->getTableName(Account::ENTITY_NAME); $bind = [Account::ATTR_CUST_ID => 1, Account::ATTR_ASSET_TYPE_ID => 2, Account::ATTR_BALANCE => 123.45]; $this->_conn->insert($tbl, $bind); $result = $this->_conn->lastInsertId($tbl); return $result; }