public bool Connect(VersionOneSettings settings)
        {
            connector.IsConnected = false;

            try {
                connector.Connect(settings);

                Types               = new Dictionary <string, IAssetType>(5);
                ProjectType         = GetAssetType(Entity.ProjectType);
                TaskType            = GetAssetType(Entity.TaskType);
                TestType            = GetAssetType(Entity.TestType);
                DefectType          = GetAssetType(Entity.DefectType);
                StoryType           = GetAssetType(Entity.StoryType);
                workitemType        = connector.MetaModel.GetAssetType("Workitem");
                primaryWorkitemType = connector.MetaModel.GetAssetType("PrimaryWorkitem");

                InitEffortTracking();

                MemberOid               = connector.Services.LoggedIn;
                listPropertyValues      = GetListPropertyValues();
                requiredFieldsValidator = new RequiredFieldsValidator(connector.MetaModel, connector.Services, this);
                connector.IsConnected   = true;

                return(true);
            } catch (MetaException ex) {
                Logger.Error("Cannot connect to V1 server.", ex);
                return(false);
            } catch (WebException ex) {
                connector.IsConnected = false;
                Logger.Error("Cannot connect to V1 server.", ex);
                return(false);
            } catch (Exception ex) {
                Logger.Error("Cannot connect to V1 server.", ex);
                return(false);
            }
        }
        public bool Connect(VersionOneSettings settings) {
            connector.IsConnected = false;

            try {
                connector.Connect(settings);

                Types = new Dictionary<string, IAssetType>(5);
                ProjectType = GetAssetType(Entity.ProjectType);
                TaskType = GetAssetType(Entity.TaskType);
                TestType = GetAssetType(Entity.TestType);
                DefectType = GetAssetType(Entity.DefectType);
                StoryType = GetAssetType(Entity.StoryType);
                workitemType = connector.MetaModel.GetAssetType("Workitem");
                primaryWorkitemType = connector.MetaModel.GetAssetType("PrimaryWorkitem");

                InitEffortTracking();

                MemberOid = connector.Services.LoggedIn;
                listPropertyValues = GetListPropertyValues();
                requiredFieldsValidator = new RequiredFieldsValidator(connector.MetaModel, connector.Services, this);
                connector.IsConnected = true;

                return true;
            } catch(MetaException ex) {
                Logger.Error("Cannot connect to V1 server.", ex);
                return false;
            } catch(WebException ex) {
                connector.IsConnected = false;
                Logger.Error("Cannot connect to V1 server.", ex);
                return false;
            } catch(Exception ex) {
                Logger.Error("Cannot connect to V1 server.", ex);
                return false;
            }
        }