Skip to content

Commit 29319c8

Browse files
authored
Update README.md
minor fixes to readme.
1 parent fd1f082 commit 29319c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ var rowKeyMapper = new KeyMapper<Employee, int>(e => e.Id.ToString(), int.Parse,
9595

9696
var keysConverter = new CalculatedKeysConverter<Employee, PartitionKey, int>(partitionKeyMapper, rowKeyMapper);
9797

98-
new PocoTableStore<Employee, PartitionKey, int>("TestEmployee", "UseDevelopmentStorage=true", keysConverter);
98+
var tableStore = new PocoTableStore<Employee, PartitionKey, int>("TestEmployee", "UseDevelopmentStorage=true", keysConverter);
9999
```
100100

101101
If you used a previous version of this library, you may remember a more complicated, more limited constructor for ```PocoTableStore```. We've simplified things and added some flexibility by introducing ```IKeysConverter```, where implementations encapsulate the rules for converting to/from table storage keys.
@@ -126,7 +126,7 @@ var employee = new Employee
126126
};
127127
tableStore.Insert(employee);
128128
```
129-
In table storage, the partition key for the above example would be "1.22" and it's row key would be "1".
129+
In table storage, the partition key for the above example would be "1.22" and its row key would be "1".
130130

131131
To retrieve the record, we can use ```PartitionKey``` to build the multi-part key.
132132
```csharp
@@ -176,7 +176,7 @@ Note that our table store was ```PocoTableStore<Employee, int, int>```, but that
176176
```var record = tableStore.GetRecord(142, "user");```
177177
which is both clear and provides type safety.
178178

179-
### Further Filtering (Beyond Parition & Row Keys)
179+
### Further Filtering (Beyond Partition & Row Keys)
180180
New to v1.2, we now include the ability to filter on properties outside of partition and row keys. Please note that this filtering occurs outside of table storage, so please consider using at least the partition key for best results.
181181

182182
Example:

0 commit comments

Comments
 (0)