Hi,
I am new to LLBLGen and am trying to do something very simple: create a filter for a security group entity for a given ID (pRoleId). My code is as follows:
RelationPredicateBucket bucket = new RelationPredicateBucket();
IPredicateExpression filter = new PredicateExpression();
filter.Add(new FieldCompareValuePredicate(TsysSecurityGroupAssignFieldIndex.SecurityGroupId, ComparisonOperator.Equal, pRoleId));
bucket.PredicateExpression.Add(filter);
However, I am getting the following error when compiling my code:
'Argument 1 cannot convert from E.g.Tsms.Datalayer.TsysSecurityGroupAssignFiledIndex to Sd.LLBLGen.Pro.ORMSupportClasses.IEntityField'
How do I convert 'TsysSecurityGroupAssignFieldIndex.SecurityGroupId' into IEntityField?
I hope you can help,
Kimkim