Operator overloading

Posts   
 
    
worldspawn avatar
worldspawn
User
Posts: 321
Joined: 26-Aug-2006
# Posted on: 26-Sep-2006 00:44:32   

Hello,

Could someone explain (preferably with a small example) how exactly operator overloading should be used to replace the functionality of PredicateFactory and SortClauseFactory?

Thanks

worldspawn avatar
worldspawn
User
Posts: 321
Joined: 26-Aug-2006
# Posted on: 26-Sep-2006 01:06:46   

So I broke a personal and read the help file smile


IPredicateExpression B = ((Table1Fields.Foo == "One") & (Table1Fields.Bar == "Two")) // A
    | (Table2Fields.Bar2 == "Three");