Beispiel #1
0
 public void PopulateCommand(SqlCommandWrapper command, System.String studyInstanceUid, System.String seriesInstanceUid, System.String sopInstanceUid, System.Int64 watermark, System.Byte status)
 {
     command.CommandType = global::System.Data.CommandType.StoredProcedure;
     command.CommandText = "dbo.UpdateInstanceStatus";
     _studyInstanceUid.AddParameter(command.Parameters, studyInstanceUid);
     _seriesInstanceUid.AddParameter(command.Parameters, seriesInstanceUid);
     _sopInstanceUid.AddParameter(command.Parameters, sopInstanceUid);
     _watermark.AddParameter(command.Parameters, watermark);
     _status.AddParameter(command.Parameters, status);
 }
Beispiel #2
0
 public void PopulateCommand(SqlCommandWrapper command, System.String studyInstanceUid, System.String seriesInstanceUid, System.String sopInstanceUid, System.Int64 watermark, System.DateTimeOffset cleanupAfter)
 {
     command.CommandType = global::System.Data.CommandType.StoredProcedure;
     command.CommandText = "dbo.IncrementDeletedInstanceRetry";
     _studyInstanceUid.AddParameter(command.Parameters, studyInstanceUid);
     _seriesInstanceUid.AddParameter(command.Parameters, seriesInstanceUid);
     _sopInstanceUid.AddParameter(command.Parameters, sopInstanceUid);
     _watermark.AddParameter(command.Parameters, watermark);
     _cleanupAfter.AddParameter(command.Parameters, cleanupAfter);
 }
Beispiel #3
0
 public void PopulateCommand(SqlCommandWrapper command, System.DateTimeOffset cleanupAfter, System.Byte createdStatus, System.String studyInstanceUid, System.String seriesInstanceUid, System.String sopInstanceUid)
 {
     command.CommandType = global::System.Data.CommandType.StoredProcedure;
     command.CommandText = "dbo.DeleteInstance";
     _cleanupAfter.AddParameter(command.Parameters, cleanupAfter);
     _createdStatus.AddParameter(command.Parameters, createdStatus);
     _studyInstanceUid.AddParameter(command.Parameters, studyInstanceUid);
     _seriesInstanceUid.AddParameter(command.Parameters, seriesInstanceUid);
     _sopInstanceUid.AddParameter(command.Parameters, sopInstanceUid);
 }
 public void PopulateCommand(SqlCommandWrapper command, System.String studyInstanceUid, System.String seriesInstanceUid, System.String sopInstanceUid, System.String patientId, System.String patientName, System.String referringPhysicianName, System.Nullable <System.DateTime> studyDate, System.String studyDescription, System.String accessionNumber, System.String modality, System.Nullable <System.DateTime> performedProcedureStepStartDate, System.Byte initialStatus)
 {
     command.CommandType = global::System.Data.CommandType.StoredProcedure;
     command.CommandText = "dbo.AddInstance";
     _studyInstanceUid.AddParameter(command.Parameters, studyInstanceUid);
     _seriesInstanceUid.AddParameter(command.Parameters, seriesInstanceUid);
     _sopInstanceUid.AddParameter(command.Parameters, sopInstanceUid);
     _patientId.AddParameter(command.Parameters, patientId);
     _patientName.AddParameter(command.Parameters, patientName);
     _referringPhysicianName.AddParameter(command.Parameters, referringPhysicianName);
     _studyDate.AddParameter(command.Parameters, studyDate);
     _studyDescription.AddParameter(command.Parameters, studyDescription);
     _accessionNumber.AddParameter(command.Parameters, accessionNumber);
     _modality.AddParameter(command.Parameters, modality);
     _performedProcedureStepStartDate.AddParameter(command.Parameters, performedProcedureStepStartDate);
     _initialStatus.AddParameter(command.Parameters, initialStatus);
 }
Beispiel #5
0
 public void PopulateCommand(SqlCommandWrapper command, System.String studyInstanceUid, System.String seriesInstanceUid, System.String sopInstanceUid, System.String patientId, System.String patientName, System.String referringPhysicianName, System.Nullable <System.DateTime> studyDate, System.String studyDescription, System.String accessionNumber, System.String modality, System.Nullable <System.DateTime> performedProcedureStepStartDate, global::System.Collections.Generic.IEnumerable <InsertStringExtendedQueryTagTableTypeV1Row> stringExtendedQueryTags, global::System.Collections.Generic.IEnumerable <InsertLongExtendedQueryTagTableTypeV1Row> longExtendedQueryTags, global::System.Collections.Generic.IEnumerable <InsertDoubleExtendedQueryTagTableTypeV1Row> doubleExtendedQueryTags, global::System.Collections.Generic.IEnumerable <InsertDateTimeExtendedQueryTagTableTypeV1Row> dateTimeExtendedQueryTags, global::System.Collections.Generic.IEnumerable <InsertPersonNameExtendedQueryTagTableTypeV1Row> personNameExtendedQueryTags, System.Byte initialStatus)
 {
     command.CommandType = global::System.Data.CommandType.StoredProcedure;
     command.CommandText = "dbo.AddInstance";
     _studyInstanceUid.AddParameter(command.Parameters, studyInstanceUid);
     _seriesInstanceUid.AddParameter(command.Parameters, seriesInstanceUid);
     _sopInstanceUid.AddParameter(command.Parameters, sopInstanceUid);
     _patientId.AddParameter(command.Parameters, patientId);
     _patientName.AddParameter(command.Parameters, patientName);
     _referringPhysicianName.AddParameter(command.Parameters, referringPhysicianName);
     _studyDate.AddParameter(command.Parameters, studyDate);
     _studyDescription.AddParameter(command.Parameters, studyDescription);
     _accessionNumber.AddParameter(command.Parameters, accessionNumber);
     _modality.AddParameter(command.Parameters, modality);
     _performedProcedureStepStartDate.AddParameter(command.Parameters, performedProcedureStepStartDate);
     _stringExtendedQueryTags.AddParameter(command.Parameters, stringExtendedQueryTags);
     _longExtendedQueryTags.AddParameter(command.Parameters, longExtendedQueryTags);
     _doubleExtendedQueryTags.AddParameter(command.Parameters, doubleExtendedQueryTags);
     _dateTimeExtendedQueryTags.AddParameter(command.Parameters, dateTimeExtendedQueryTags);
     _personNameExtendedQueryTags.AddParameter(command.Parameters, personNameExtendedQueryTags);
     _initialStatus.AddParameter(command.Parameters, initialStatus);
 }
Beispiel #6
0
 public void PopulateCommand(SqlCommandWrapper command, System.String tagPath)
 {
     command.CommandType = global::System.Data.CommandType.StoredProcedure;
     command.CommandText = "dbo.GetExtendedQueryTag";
     _tagPath.AddParameter(command.Parameters, tagPath);
 }