This question is locked. New answers and comments are not allowed.
Hi there,
In my silverlight application I load my data with the load operator, like this:
LoadOperation<AssuntoVotacoes> loadOp = AppGlobais.Globais.ContextoSGA.Load(AppGlobais.Globais.ContextoSGA.GetAssuntoVotacoesPorAssuntoQuery(AssuntoSeleccionado.IdProp), LoadBehavior.RefreshCurrent, CarregaAssuntosVotacoesReuniaoCompleted, false);
However, I ask me if this is the good way of do it,because now, my application take too many time on load of each page.
I ask you ,if I did my queries like this:
OCParticipantesReuniao = new ObservableCollection<ParticipantesReuniao>(sga.ParticipantesReuniaos.Where(P=>P.SitProp==1));
I'll get the information more faster that Load Operation, or is the same?
Thanks
In my silverlight application I load my data with the load operator, like this:
LoadOperation<AssuntoVotacoes> loadOp = AppGlobais.Globais.ContextoSGA.Load(AppGlobais.Globais.ContextoSGA.GetAssuntoVotacoesPorAssuntoQuery(AssuntoSeleccionado.IdProp), LoadBehavior.RefreshCurrent, CarregaAssuntosVotacoesReuniaoCompleted, false);
However, I ask me if this is the good way of do it,because now, my application take too many time on load of each page.
I ask you ,if I did my queries like this:
OCParticipantesReuniao = new ObservableCollection<ParticipantesReuniao>(sga.ParticipantesReuniaos.Where(P=>P.SitProp==1));
I'll get the information more faster that Load Operation, or is the same?
Thanks