I would like to get set a predicate on a nongenericentity without importing the generated llblgenclasses (just using ormsupportclasses)
like
DataAccessAdapter da = new DataAccessAdapter();
IRelationPredicateBucket bucket = new RelationPredicateBucket();
IEntityField2 profileFilter = new EntityField2("profileid", null);
bucket.PredicateExpression.Add(profileFilter != "");
da.FetchEntityCollection(e.ContainedCollection, bucket, e.MaxNumberOfItemsToReturn, e.Sorter, e.PrefetchPath, e.PageNumber, e.PageSize);
is there a way to do this?
the code above doesn't work!
cheers
andrew