Closed baharedankoyuncu closed 4 years ago
Hi @baharedankoyuncu - thanks for reporting this issue.
We actually recommend not using TableEntityAdapter. Instead, we recommend directly extending TableEntity. TableEntityAdapter has some odd corner cases, as you've seen, that doesn't make it an ideal pattern.
I've created #58 to track deprecating this and then removing it in v2.
Hi, Use Reflection.
public T Get
Hi,
I'm trying to fetch an entity from Azure Table Storage with the following code.
Inspecting the
TableResult
object namelyresult
and looking into theResult
property, I see the correctPartitionKey
andRowKey
properties. But theOriginalEntity
property contain nulls for the partition and row key.I can't seem to figure out why this happens but if I set the table operation to be
Retrieve<T>
instead ofRetrieve<TableEntityAdapter<T>>
then I get the correct keys except that now my I do not get the "complex entity".I haven't been able to find anything about this behavior and currently blinded by this issue.