I have tried to filter some records without success using CriteriaOperator.Parse
. Im sure there are records that equal my criteria.
Can you show me how can i do it?
Current Code
uow = UnitOfWork
and im sure its not null
XPCollection coll = new XPCollection(uow, typeof(HataBildirim), CriteriaOperator.Parse(" [HataTespitYeri] = ? and [Tarih] > ? and ([CreatedOn] > ? OR [LastModifiedOn] > ?)",hatatespityeri, convservertarih, senkdate));
答案 0 :(得分:1)
正如TSV评论的那样,问题几乎可以肯定是由于您只传递了三个参数值,其中您的标准中有四个占位符。
假设您的“senkdate”应该与[CreatedOn]和[LastModifiedOn]进行比较,只需传递两次:
@LOCAL