Пример #1
0
        internal override QueryFilter NativeFilterToSmartFilter(QueryFilter filter)
        {
            ComparisonFilter comparisonFilter = (ComparisonFilter)IdProperty.NativeIdFilterToSmartIdFilter(filter, this, InternalSchema.EntryId);

            if (comparisonFilter != null && !this.IsCompatibleId((StoreObjectId)comparisonFilter.PropertyValue, null))
            {
                return(null);
            }
            return(comparisonFilter);
        }
 internal override QueryFilter SmartFilterToNativeFilter(SinglePropertyFilter filter)
 {
     return(IdProperty.SmartIdFilterToNativeIdFilter(filter, this, BirthdayContactIdProperty.EnclosedPropertyDefinition));
 }
Пример #3
0
 internal override QueryFilter SmartFilterToNativeFilter(SinglePropertyFilter filter)
 {
     return(IdProperty.SmartIdFilterToNativeIdFilter(filter, this, InternalSchema.EntryId));
 }
 internal override QueryFilter NativeFilterToSmartFilter(QueryFilter filter)
 {
     return(IdProperty.NativeIdFilterToSmartIdFilter(filter, this, this.enclosedPropertyDefinition));
 }