-
Notifications
You must be signed in to change notification settings - Fork 181
RetrieveEntityDataSource is returning null value #579
Comments
Hello @ilazarevski , fake-xrm-easy/FakeXrmEasy.Tests.Shared/Features/RetrieveMultipleDataProviderTesting.cs Lines 12 to 31 in 0629381
I don't think it is a bug, it just has been implemented differently from what you were expecting. |
Thanks @ilazarevski @BetimBeja Indeed, the initialization is as per Betim's answer. I suppose if the community finds it valuable to also initialize the EntityDataSourceRetriever based on metadata . For example, as long as the EntityMetadata has both the DataProviderId and DataSourceId properties? |
@BetimBeja thanks for your answer. I understand that is different implementation, but in our case we are consuming the IEntityDataSourceRetrieverService service. |
Describe the bug
When calling the RetrieveEntityDataSource method from IEntityDataSourceRetrieverService, always is retuning null value, despite the defined "DataSourceId" and "DataProviderId" in the metadata of the virtual entity.
Expected behavior
Entity data source defined for the virtual entity.
** FakeXrmEasy and Dynamics 365 / CRM version **
FakeXrmEasy v9 (1.57.1). Core Assemblies v 9.0.0.7.
Screenshots
The text was updated successfully, but these errors were encountered: