Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Creation of the abstract class for the repository layer

...

languagec#

...

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
languagec#
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

...