Archive for July, 2007

LLBLGen Upgrade from 1.x to 2.x

17 Jul

I have found this search to be pretty helpful with my upgrade from LLBLGen 1 to 2. 

  1. To use it start a find and replace and enable regular expressions. 
  2. Then in the Find What box enter PredicateFactory.CompareValue({:w}FieldIndex.{:w}, ComparisonOperator.Equal,
  3. now in the Replace with box enter 1Fields.2 ==

This will then replace the string with the correct syntax for the new query language that uses operator overloads.  These can be modified to capture most of the query types used in LLBLGen.  You will have to go back in however and remove an extra closing parenthesis.