generated codes by v3.0 instead of v1.0 - EntityCollection<T>

Posts   
 
    
Leo Wang
User
Posts: 29
Joined: 29-Jul-2010
# Posted on: 04-Nov-2010 02:18:22   

Issue: The best overloaded method match for 'Quotit.BL.EntityManagers.ManagerBase.FetchCollection(Quotit.DAL.HelperClasses.EntityCollection,

SD.LLBLGen.Pro.ORMSupportClasses.IDataAccessAdapter)' has some invalid arguments

Finding: Codes generated as EntityCollection<T> instead of EntityCollection in DAL, but baseManager and EntityManager classes in BL are still using EntityCollection


private EntityCollection<AuctionFilterEntity> _auctionFilter;
private EntityCollection<B2bContactEntity> _b2bContact_;
private EntityCollection<B2bContactEntity> _b2bContact;

Question: So we have to update all places which return or pass argument as EntityCollection to EntityCollection<T>. Is it correct?

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 04-Nov-2010 06:50:29   

Leo wrote:

Question: So we have to update all places which return or pass argument as EntityCollection to EntityCollection<T>. Is it correct?

Yes. It's part of the migration process you have to do. I found VSNet Find/Replace function with Regex very useful in this particular task.

David Elizondo | LLBLGen Support Team
Leo Wang
User
Posts: 29
Joined: 29-Jul-2010
# Posted on: 04-Nov-2010 13:32:50   

All right. Thank you.

We will try Find/Replace function with Regex