Hello Christian, we are in the process of evaluating OPF here at our company. One issue we are having is a good way to implment OPF for many tables. For example, we might have 10 tables in one database and 5 in another in the same project. We are writing the same basic code to generate an ObjectSet to place use it for a datasource and then to persist each one in it's own try..catch block etc.. Before we begin writing a helper class to manage these things in a more general way, I was wondering if you had any advice or even sample code for a good way to handle this.
We are evaluating your product here at our company and have a question on WeakPersistent relationships. I have successfuly created a many-to-many WeakPersistent relationship such that removing a mapped object from the ObjectSet of the other does not delete it from the database. However, I am stuck on how to do the same for a one-to-many relationship. Such a relationship has no mapping table in the storage so I cannot create a matching class in the code. What am I missing here?
4 Comments:
Hello Christian, we are in the process of evaluating OPF here at our company. One issue we are having is a good way to implment OPF for many tables. For example, we might have 10 tables in one database and 5 in another in the same project. We are writing the same basic code to generate an ObjectSet to place use it for a datasource and then to persist each one in it's own try..catch block etc.. Before we begin writing a helper class to manage these things in a more general way, I was wondering if you had any advice or even sample code for a good way to handle this.
I tried to answer it with this post:
How to use Opf3 with more then one storage?
Christian,
We are evaluating your product here at our company and have a question on WeakPersistent relationships. I have successfuly created a many-to-many WeakPersistent relationship such that removing a mapped object from the ObjectSet of the other does not delete it from the database. However, I am stuck on how to do the same for a one-to-many relationship. Such a relationship has no mapping table in the storage so I cannot create a matching class in the code. What am I missing here?
Thanx
Jay
I tried to answer it with this post: Create one-to-many relations
Post a Comment
<< Home