private DevProjPath IsFileInADevProjectPath(string fullPath) { var hlpr = new DataHelpers.DHFileWatcher(AppWrapper.AppWrapper.DevTrkrConnectionString); return(hlpr.IsFileInDevPrjPath(fullPath)); }
/// <summary> /// NOTE: Consider this method and what it's doing - Same project diff machines /// If two computers are working on the same SourceControl project name, this code is /// currently recording it in database as two different (one per machine) project. /// This is a logical paradox, for there is no way to tell if the project is the same /// on two or more machines or if at least one of the projects is physically different /// project with the same name as some other project /// Possibly we can differentiate between the two scenarios by a new table that lists /// developers of the same logical project but not sure how to do that except at the /// source control level /// Developers are generally allowed to name their new development projects with whatever /// name they choose causing this conumdrum... it appears the only way to solve it in this /// application is to group reporting by machine and user and let management determine the /// link b/c I have no way to get to source control where it must be resolved. /// </summary> /// <param name="projectName"></param> /// <param name="devPath"></param> /// <param name="userName"></param> /// <param name="machineName"></param> /// <param name="ideAppName"></param> private void CheckForInsertingNewProjectPath(string projectName, string devPath, string userName, string machineName, string ideAppName) { var hlpr = new DataHelpers.DHFileWatcher(AppWrapper.AppWrapper.DevTrkrConnectionString); var rows = hlpr.CheckForInsertingNewProjectPath(projectName, devPath, userName, machineName, ideAppName); }