This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public BusinessEntityCollection RetrieveMultiple( Microsoft.Crm.Sdk.Query.QueryBase query ) { | |
QueryExpression queryExpression = ( QueryExpression )query; | |
BusinessEntityCollection retval = new BusinessEntityCollection(); | |
if( data.ContainsKey( query.EntityName ) ) { | |
foreach( BusinessEntity entity in data[ query.EntityName ] ) { | |
if( true == EvaluateFilters( queryExpression.Criteria, entity ) ) { | |
retval.BusinessEntities.Add( entity ); | |
} | |
} | |
} |
NewerOlder