wsyeager
Centurion
Is there a way to reference objects like a connection, dataadapter and command objects from one component desinger to another?
For instance, I would like to have just one namespace that contains all my datasets using the component designer. Inside this namespace would also be any connection, dataadpater, and command objects used to create these typed datasets. When working with other projects, if I have to use a particular dataset, I would just need to change the dataset once from this project, and all other projects using this dataset would automatically be updated with the updated dataset just by recompiling them.
From within another component designer, I would reference the component above that contains those strongly typed datasets. How then, can I access any connections, dataadapters and command objects from the component desinger above (similiar to how I can set a reference to a strongly typed dataset). Meaning, I can set a reference to a dataset from another componet. How can I access those other objects?
For instance, I would like to have just one namespace that contains all my datasets using the component designer. Inside this namespace would also be any connection, dataadpater, and command objects used to create these typed datasets. When working with other projects, if I have to use a particular dataset, I would just need to change the dataset once from this project, and all other projects using this dataset would automatically be updated with the updated dataset just by recompiling them.
From within another component designer, I would reference the component above that contains those strongly typed datasets. How then, can I access any connections, dataadapters and command objects from the component desinger above (similiar to how I can set a reference to a strongly typed dataset). Meaning, I can set a reference to a dataset from another componet. How can I access those other objects?