![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)
This is a novice question.
We are developing a piece of software for database access and we are creating Custom Data Objects that interface with the Database. The Idea behind these objects is to make them univeral so they may function in stateless or stateful environment. This will allows to easily update our ASP Servers and all our desktop clients with the same files.
Once the objects have pulled the data they close the recordset and store the data in local variables and if there are changes made then the data it is updated back to the server.
Here is my question:
We have a WorkOrder_Main Table which holds the main WorkOrder Info, then there other work Order Tables such as parts
the system keeps track of all inventory and in the workOrder parts Table there is the WorkOrderID and PartID and the quantity used the workOrder object will query the parts table and get the partIDs then looping throught those part ID it will Create a collection of part objects. At each creation of these objects the objects will run a query using these IDS and populate the properties of these objects with data from the Parts Main Table. This would mean 15 to 20 connections for just parts which would mean that an entire work order could consist of many connections. Is there any performance or connection issues that I could expect to face, or does someone have a better Idea that I could maybe use.
Thanx in advanced.