IEquatable<T> Requirement Removed

Jan 9, 2008 at 7:16 PM
In the code that was bundled with the v1.0.0.0, any element that was in a collection that was being extended by the query extender required that the element implement IEquatable<T>. Basically what this meant was that if your model object was ContinuousCollection<Customer>, you had to go and manually implement IEquatable<Customer> on that object. This wasn't too big of a deal, but it was tedious busywork that I never thought I should've been required to do.

Turns out that after a couple of refactorings that took place before we put out v1.0.0.0, the code that made me require IEquatable<T> is no longer in there, so I've removed that requirement as of Changeset 1473. This change simplifies the model objects that need to be created for WPF databinding considerably and will be incorporated in the next release of CLINQ. For now, if you want the simplified code with less stringent requirements on your model objects, just grab any code from Changeset 1473 or later and ignore the v1.0.0.0 bundled ZIP release.