Hi Alfred Ortega,
that should not be necessary. First of all, LINQ knows about the First() extension method, so your manual enumeration break should not be necessary. Secondly, the IObjectId is indeed intended to identify a single instance by it's primary key value(s). You can obtain such a value via
IObjectId oid = Database.OID.ParseObjectId(Type,string);
and use the value to fetch the persistent instance in the context of an IObjectScope
MyClass x = (MyClass)scope.GetObjectById(oid);
Hope this clarifies it.
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.