EntityField2

Posts   
 
    
Posts: 22
Joined: 20-Sep-2006
# Posted on: 16-Oct-2006 22:51:54   

I'm trying to setup a predicate expression.

According to the manual, I should be able to assign a field object like this


EntityField2 companyNameField = CustomerFields.CompanyName;

When I attempt to do this


EntityField2 _companyName = ContactFieldIndex.CompanyName;

I get a design time error of can not implicity convertType "TestClass.ContactFieldIndex" to SD.LLBLGenPro.ORMSupportClasses.EntityField2

What am I missing here?

Posts: 22
Joined: 20-Sep-2006
# Posted on: 16-Oct-2006 22:58:41   

Nevermind. I just needed more coffee. simple_smile