public static QueryExpression GetQueryExpressionSingle(string entityName, string attributeName, object values, ColumnSet columnSet)
{
QueryExpression query = new QueryExpression()
{
EntityName = entityName,
ColumnSet = columnSet,
Criteria = new FilterExpression
{
FilterOperator = LogicalOperator.And,
Conditions = { new ConditionExpression(attributeName, ConditionOperator.Equal, values) }
}
};
return query;
}
Hiç yorum yok:
Yorum Gönder