This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bool CheckWriteAccessToDirectory(string directoryPath) | |
| { | |
| bool isWriteAccess = false; | |
| try | |
| { | |
| var collection = Directory.GetAccessControl(directoryPath).GetAccessRules(true, true, typeof(NTAccount)); | |
| var fileSystemAccessRules = collection.Cast<FileSystemAccessRule>().ToList(); | |
| isWriteAccess = fileSystemAccessRules.Any(rule => rule.AccessControlType == AccessControlType.Allow) | |
| && fileSystemAccessRules.None(rule => rule.AccessControlType == AccessControlType.Deny); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IDictionary<int, int> map = session | |
| .GetNamedQuery("MyQuery") | |
| .SetParameterList("ids", ids) | |
| .SetResultTransformer(Transformers.AliasToEntityMap) | |
| .List<Dictionary<int, int>>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public bool IsSurveillanceNoUnique(string surveillanceNo, SurveillanceType surveillanceType, SurveillanceContext surveillanceContext) | |
| { | |
| var sType = SurveillanceTypeMap[surveillanceType]; | |
| var methodInfo = _surveillances.GetType().GetMethod("IsSurveillanceNoUnique"); | |
| methodInfo = methodInfo.MakeGenericMethod(sType); | |
| var unique = (bool) methodInfo.Invoke(_surveillances, new object[] {surveillanceNo, surveillanceContext}); | |
| return unique; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT ~CAST((Count(ResultId) - SUM(CAST(SatisfiesPeriodicRequirement as INT))) as bit) | |
| FROM ExamResults | |
| WHERE SurveillanceId = 7927 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| StructureMap Exception Code: 207 | |
| Internal exception while creating Instance '10d5067c-3c42-43b4-884b-7a9307866c7a' of PluginType roundhouse.databases.Database, rh, Version=0.8.230.353, Culture=neutral, PublicKeyToken=null. Check the inner exception for more details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Running RoundhousE v0.8.230.353 against (local) - IddealSuite. | |
| Looking in C:\Dev\Iddeal\Database for scripts to run. | |
| ================================================== | |
| Setup, Backup, Create/Restore/Drop | |
| ================================================== | |
| Creating IddealSuite database on (local) server if it doesn't exist. | |
| Restoring IddealSuite database on (local) server from path C:\Dev\Iddeal\Database\IddealSuite.bak. | |
| RoundhousE encountered an error. You were running in a transaction though, so the database should be in the state it was in prior to this piece running. This does not include a drop/create or any creation of a database, as those items can not run in a transaction. | |
| System.Data.SqlClient.SqlException: A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) | |
| at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"@id":"V9-6","comment":{"@id":"63-4","@author":"wgreen","@issueId":"V9-6","@deleted":"false","@text":"Acceptance Criteria presenters will be changed to batch up changes in memory rather than submit the directly. Then the Approval workflow will be intitiated. Only after this workflow is complete will the changes be sent to the domain (and thereby the database)","@shownForIssueAuthor":"false","@created":"1318432040908","replies":null},"field":[{"@name":"Priority","value":"Normal"},{"@name":"Type","value":"Feature"},{"@name":"State","value":"Fixed"},{"@name":"Assignee","value":"michael"},{"@name":"Subsystem","value":"No subsystem"},{"@name":"Fixed in build","value":"9.30.51.222"},{"@name":"links","value":{"@type":"Depend","@role":"is required for","$":"V9-3"}},{"@name":"projectShortName","value":"V9"},{"@name":"numberInProject","value":"6"},{"@name":"summary","value":"Entering a new reference value should require an approval by an IST Engineer and/or peer"},{"@name":"created","value":"1317928959793"},{"@name":" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [12:40:04]: Step 7/8: Duplicates finder (.NET) | |
| [12:40:04]: Starting: "C:\Program Files\Jet Brains\TeamCity\buildAgent\plugins\dotnet-dupfinder\bin\dupfinder.exe" --show-stats --show-text --discard-cost=70 --debug --normalize-types "--exclude-code-regions="Windows Form Designer generated code"" -e **/*.Designer.cs -e **/*.generated.cs -e **/*Tests/**/*.cs -e Misc/IddealTemplate/**/*.cs -e Tools/FileTruncationTask/**/*.cs -e Tools/SyncRepo/**/*.cs -e Tools/SchemaScan/**/*.cs -i **/*.cs -o 05A1B22A-DE6E-49ae-AA30-DC52A074EF22\result.xml | |
| [12:40:04]: in directory: C:\ProgramData\JetBrains\TeamCity\buildAgent\work\8ef7d41dee6698f1 | |
| [12:40:05]: JetBrains Duplicates Finder for .NET | |
| [12:40:05]: Running in 32-bit mode, .NET runtime 2.0.50727.4216 under Microsoft Windows NT 6.0.6002 Service Pack 2 | |
| [12:40:05]: dupFinder: Invalid option 'output'. Error: Output file is not specified | |
| [12:40:05]: Try `dupFinder /help' for more information. | |
| [12:40:05]: Process exited with code 1 | |
| [12:40:05]: Step Duplicates finder (.NET) failed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Runtime.Serialization; | |
| using System.ServiceModel; | |
| using System.ServiceModel.Web; | |
| using System.Text; | |
| using ElmSelect.DomainModel; | |
| using DataAccessLayer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Runtime.Serialization; | |
| using System.ServiceModel; | |
| using System.ServiceModel.Web; | |
| using System.Text; | |
| using ElmSelect.DomainModel; | |
| namespace WCFService |