Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Bugs & Issues> one small departure from interface-based programming
 

Pages: 1
Bugs & Issues
one small departure from interface-based programming
Page:1/1 

  Print all messages in this thread  
Poster Message
Mountain
User



Location:
Florida
Joined on:
01-Apr-2005 05:05:51
Posted:
21 posts
# Posted on: 04-Apr-2005 21:56:12.  
In DataAccessAdapterBase, in FindPkObject, the original code is:

Code:
EntityBase2 currentEntity=(EntityBase2)entitiesWithHash[i];


My altered code is:

Code:
IEntity2 currentEntity=(IEntity2)entitiesWithHash[i];


I believe there is no change in functionality. However, the original line was breaking my interface-based solution (Wrapper design pattern).

Any chance you can change this (if I'm correct about the functionality not changing)? Thanks.
  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
38092 posts
# Posted on: 04-Apr-2005 22:43:47.  
Looking at the code it indeed isn't necessary to use the base class. I'll change this in 1.0.2004.2. That will indeed fix a hierarchy fetch problem.

Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.