设置添加DBSET实体FRAMAWORK的模拟函数以更改对象属性的谷?
如果使用添加函数,则将更改元素的属性ID以从表格中更改为分配的值,该如何执行此操作?
if you use an add function, then the property id of the element to include will be changed for a value assign from the table, How can i to do this?.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
第一的。创建一个定义操作的通用类:
函数添加使用回调,可以访问发送的参数,然后定义一个函数,该函数具有依赖对象发送的对象的过程
First. create a generic class that define the operations:
The function add use Callback, who can access to parameters sended, and after define a function who has a process that depend of the object sended