Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why Repository Methods of Insert Never Return Entity just inserted #102

Open
dongfo opened this issue Apr 16, 2019 · 1 comment
Open

Why Repository Methods of Insert Never Return Entity just inserted #102

dongfo opened this issue Apr 16, 2019 · 1 comment

Comments

@dongfo
Copy link

dongfo commented Apr 16, 2019

in many stituation, we will need to display something just inserted. but the insert method never return the entity or it's Id . There's no way to find the one inserted!

@panda-big
Copy link
Contributor

在许多情况下,我们将需要显示刚刚插入的内容。但是insert方法从不返回实体或它的Id。无法找到插入的那个!

你可以自己新增返回实体的方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants