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.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL