• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 2.0 Entity with auto_increment fields

When i create an Entity, set fields and call save(), when that entity have an autoincrement column - how can i get that one right after save are finished?
You could create a custom function in your entity class aswell which returns just that column for the given entity.