The SQL DBML in my Linux is a task unit. I have self referenced with this ID and ParentID columns. I have an association Which combines the two IDs together.
It seems that everything works well in intellisense, it lets me type the task. Parent.ID and even Tasks. Parent.Parent.ID, etc. However, this gives me the ol object reference which is not set for an example of an object. "Error.
All of my other organizations work fine with my other organizations. Only self-referenced entity errors.
Do I have to do something special to do this work or Am I better by just adding a second working unit and calling it parentcentes and thus creating a union? / P>
If you are trying to get parent for an entity, then error will occur When it is not really Mother or father, whatever you have specified is absolutely fine and I have implemented similar relationships many times.
You have mentioned an exception but when you did that During an update, maybe there is an infringement of an FIR? During an INSERT? Or just a question?
Work.Father.Father.Papa, parents, there is nothing that you just have to do Can be sure of That it will compile the code does not know the backup data that statement but runtime, each. The original call needs to be matched by a similar ParentID column.
Comments
Post a Comment