...
Creation of the abstract class for the repository layer
...
language | c# |
---|
...
Creation of the Proxies
FormProxy : Once we got the values of the Table “systemform” related to the form in which the PBI report is embedded. The data of [SystemForm] type will be mapped into an object [FormProxy[]] of type array.
Code Block | ||
---|---|---|
| ||
var systemForm = serviceProvider.GetRequiredService<DataverseRepository<DataverseModel.SystemForm>>().FindAll(qe); var formProxies = systemForm .Select<Entity, FormProxy>((Func<Entity, FormProxy>)(f => new FormProxy(f))) .OrderBy<FormProxy, string>((Func<FormProxy, string>)(f => f.ToString())) .ToArray<FormProxy>();//convert entities into array of proxy |
...