Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. trickster321

    Complex object comparison

    Cheers Bob, will investigate this further. Unfortunately, as with everything the project has moved on and the deadline is looming so no time to refactor now. Just been (briefly) reading the gang of four book on composites, looks like its useful for calling common methods on objects that may...
  2. trickster321

    Complex object comparison

    Hi chiph, we've aready discussed using ICompare earlier in the thread. I need to know what the differences are, not just that the objects are different. So for example in my collection of item objects I need to know exactly what are the differences in each item, are there any new items, has an...
  3. trickster321

    Designing objects.....

    Cosmic jam there Bob! Actually if we're talking about interoperability then this is where I put my Web Service hat on (for I work in the internet space) and could argue that in fact all your business logic should do at the DAL is create XML, period. It's then up to the consuming data store to...
  4. trickster321

    Complex object comparison

    We've done a little more work on this and have written a comparator class that takes two objects that are of the same type and uses reflection to get a list of object properties. We then iterate over the property array and use the object equal method to see if there are any differences between...
  5. trickster321

    Designing objects.....

    Hmmm, ok then we agree to disagree. If you are working on a ground up design of a system then there is no reason why the underlying database design cannot cater for future flexibility and extension. I would suggest that if you have had to jump through hoops in the past to get your business...
  6. trickster321

    Complex object comparison

    Hi steve, thanks for the reply. I don't really want to go too deeply into the business case behind the functionality but I basically have a "product" which a user can own an instance of. Now a product instance can have, for example, several other users and/or several items associated with it...
  7. trickster321

    Complex object comparison

    Hi all, I'm trying to write some code to compare two complex objects, by which I mean objects that contain other objects that contain other objects and so on (I guess that makes them composite objects). I need to know what differences there are either in the properties of each object or in the...
  8. trickster321

    Designing objects.....

    Designing objects first is not usually the best approach. I've always found that if you design the underlying data model first then the objects (business entities in microsoft speak) generally drop out from there. You can use ORM (object relational mapping) techniques to map your underlying data...

Part and Inventory Search

Back
Top