COM+ Database Component Design
If I have an COM+ component that is going to provide reading and writing
access to a database. Is there any problem with the statements below.
.SetProp1 = "value1"
.SetProp2 = "value2"
strValue1 = .GetProp1
strValu2 = .GetProp2
So I guess my real question is:
1. When updating the database should I first have the user populate the
member variables then perform a stored proc to insert the new item?
2. When reading an item from the database should I first have the user load
the item then access its properties?
3. Are the above solutions the best in a distributed application?
Thanks in advance.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center