You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using C# 9 records for storage (super convenient!), you typically don't declare the properties explicitly, but leverage the concise syntax instead:
Since you don't have a property to place the PartitionKey and RowKey attributes, you need to instead provide them via lambdas on every creation of a table partition or repository.
It would be nice if we could allow the attributes in the record constructor arguments themselves:
When using C# 9 records for storage (super convenient!), you typically don't declare the properties explicitly, but leverage the concise syntax instead, so now you can do:
```
public record Book([RowKey] string ISBN, [PartitionKey] string Author, string Title);
```
Fixes#43
When using C# 9 records for storage (super convenient!), you typically don't declare the properties explicitly, but leverage the concise syntax instead, so now you can do:
```
public record Book([RowKey] string ISBN, [PartitionKey] string Author, string Title);
```
Fixes#43
When using C# 9 records for storage (super convenient!), you typically don't declare the properties explicitly, but leverage the concise syntax instead:
Since you don't have a property to place the
PartitionKey
andRowKey
attributes, you need to instead provide them via lambdas on every creation of a table partition or repository.It would be nice if we could allow the attributes in the record constructor arguments themselves:
The text was updated successfully, but these errors were encountered: