using (var reader = command.ExecuteReader()){ DeploymentDBoardView.lstDeploymentDBoardvw = ((IObjectContextAdapter)db).ObjectContext.Translate<DeploymentDshBoardView>(reader).ToList(); reader.NextResult(); DeploymentDBoardView.lstRequestCountvw = ((IObjectContextAdapter)db).ObjectContext.Translate<RequestCountView>(reader).ToList(); reader.NextResult(); DeploymentDBoardView.lstUnittimevw = ((IObjectContextAdapter)db).ObjectContext.Translate<UnittimeView>(reader).ToList(); reader.NextResult(); DeploymentDBoardView.lstContactdetailvw = ((IObjectContextAdapter)db).ObjectContext.Translate<ContactdetailsView>(reader).ToList();}} return Ok(DeploymentDBoardView);
1.4m articles
1.4m replys
5 comments
57.0k users