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
In DI scenarios, it's virtually impossible to inject a string with a target table name, or a Func<T, string> for the functions to retrieve a partition key or row key for an entity.
However, since we provide the corresponding attributes to make this simpler to consume when using the factory methods, we could also just provide a derived implementation that just uses those same defaults always, so registering it for DI is as simple as (for ASP.NET Core for example):
In DI scenarios, it's virtually impossible to inject a string with a target table name, or a Func<T, string> for the functions to retrieve a partition key or row key for an entity.
This new implementation uses the same defaults from the factory methods to pass to the base implementation the required arguments, making the DI scenario possible by just requiring a CloudStorageAccount in the container.
Fixes#16
In DI scenarios, it's virtually impossible to inject a string with a target table name, or a Func<T, string> for the functions to retrieve a partition key or row key for an entity.
This new implementation uses the same defaults from the factory methods to pass to the base implementation the required arguments, making the DI scenario possible by just requiring a CloudStorageAccount in the container.
Fixes#16
In DI scenarios, it's virtually impossible to inject a
string
with a target table name, or aFunc<T, string>
for the functions to retrieve a partition key or row key for an entity.However, since we provide the corresponding attributes to make this simpler to consume when using the factory methods, we could also just provide a derived implementation that just uses those same defaults always, so registering it for DI is as simple as (for ASP.NET Core for example):
The text was updated successfully, but these errors were encountered: