←Select platform

InsertHangingProtocol Method

Summary

Inserts a hanging protocol row into the database table.

Syntax

C#
VB
C++
protected virtual void InsertHangingProtocol( 
   string sopInstanceUid, 
   string sopClassUid, 
   string name, 
   string description, 
   string level, 
   string creator, 
   string userGroupName, 
   int numberOfPriorsReferenced, 
   string specificCharacterSet, 
   string referencedFile, 
   Nullable<DateTime> creationDateTime, 
   bool overwrite 
) 
Protected Overridable Sub InsertHangingProtocol( 
   ByVal sopInstanceUid As String, 
   ByVal sopClassUid As String, 
   ByVal name As String, 
   ByVal description As String, 
   ByVal level As String, 
   ByVal creator As String, 
   ByVal userGroupName As String, 
   ByVal numberOfPriorsReferenced As Integer, 
   ByVal specificCharacterSet As String, 
   ByVal referencedFile As String, 
   ByVal creationDateTime As Nullable(Of DateTime), 
   ByVal overwrite As Boolean 
) 
protected:  
   virtual void InsertHangingProtocol( 
       String^ sopInstanceUid, 
      String^ sopClassUid, 
      String^ name, 
      String^ description, 
      String^ level, 
      String^ creator, 
      String^ userGroupName, 
      Int32 numberOfPriorsReferenced, 
      String^ specificCharacterSet, 
      String^ referencedFile, 
      Nullable<DateTime^>^ creationDateTime, 
      bool overwrite 
   ) 

Parameters

command

Type: System.Data.Common.DbCommand The database command that will be initialized to execute the insert.

sopInstanceUid

The SOP Instance UID of the hanging protocol.

sopClassUid

The SOP Class UID of the hanging protocol.

name

The name of the hanging protocol.

description

The description of the hanging protocol.

level

The hanging protocol level. This can be: SITE, USER_GROUP, SINGLE_USER or MANUFACTURER.

creator

The hanging protocol creator's name

userGroupName

When the level is set to USER_GROUP this parameter indicates the user group's name.

numberOfPriorsReferenced

Number of priors referenced by this hanging protocol

specificCharacterSet

Use empty string for default, otherwise you can specify what charcter set to use.

referencedFile

The dicom dataset file referenced.

creationDateTime

Timestamp of when was this created.

overwrite

If true, overwrite any existing hanging protocol with the same sopInstanceUid. If false, do not overwrite.

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Storage.DataAccessLayer Assembly