public override void UpdateConnection(IOrganizationService newService, ConnectionDetail connectionDetail, string actionName = "", object parameter = null)
        {
            service     = newService;
            _vm.Service = service;

            // Load entities when connection changes
            var t = _vm.LoadEntities();
        }
Ejemplo n.º 2
0
        //protected override void ConnectionDetailsUpdated(NotifyCollectionChangedEventArgs e)
        //{
        //    // For now, only support one target org
        //    if (e.Action.Equals(NotifyCollectionChangedAction.Add))
        //    {
        //        var detail = (ConnectionDetail)e.NewItems[0];
        //        SetConnectionLabel(detail.ConnectionName, ServiceType.Target);
        //        targetService = detail.ServiceClient;
        //    }
        //}

        protected void Custom_ConnectionUpdated(object sender, ConnectionUpdatedEventArgs e)
        {
            _vm.Service = e.Service;
            var t = _vm.LoadEntities();
        }