Skip to content

Commit

Permalink
#17 Fixed filter by RowKey
Browse files Browse the repository at this point in the history
(closes #17)
  • Loading branch information
Andrei15193 committed Dec 25, 2020
1 parent 2fe000e commit a17652e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CloudStub/FilterParser/FilterNodes/PropertyFilterNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ protected EntityProperty GetValueFromEntity(DynamicTableEntity entity)
if (string.Equals(PropertyName, nameof(entity.PartitionKey), StringComparison.Ordinal))
entityProperty = EntityProperty.GeneratePropertyForString(entity.PartitionKey);
else if (string.Equals(PropertyName, nameof(entity.RowKey), StringComparison.Ordinal))
entityProperty = EntityProperty.GeneratePropertyForString(entity.PartitionKey);
entityProperty = EntityProperty.GeneratePropertyForString(entity.RowKey);
else if (string.Equals(PropertyName, nameof(entity.ETag), StringComparison.Ordinal))
entityProperty = EntityProperty.GeneratePropertyForString(entity.ETag);
else if (string.Equals(PropertyName, nameof(entity.Timestamp), StringComparison.Ordinal))
Expand Down

0 comments on commit a17652e

Please sign in to comment.