Method not found

Posts   
 
    
Posts: 2
Joined: 16-Feb-2007
# Posted on: 16-Feb-2007 18:25:57   

Guys,

I am trying to fetchusinguniqueconstraint, the intelisense works fine, presenting me with the ConstructFilterForUCUserId() method, and the project builds fine, but at run time I get a "method not found" error.


  BasketEntity basket = new BasketEntity();
  basket.UserId = userid;
            
  using (DataAccessAdapter a = new DataAccessAdapter()) {
    a.FetchEntityUsingUniqueConstraint(basket, basket.ConstructFilterForUCUserId());
  }

Error:

Method not found: 'SD.LLBLGen.Pro.ORMSupportClasses.IPredicateExpression Eprint.Skyline.EntityClasses.BasketEntity.ConstructFilterForUCUserId()'.

Any Ideas what is going on here?

Kindest Regards

Adam

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 16-Feb-2007 19:16:59   

The generated code dll you compiled against isn't present in hte bin folder of your application. Could you check that please (you've an old version there I think)

Frans Bouma | Lead developer LLBLGen Pro