Error processing SSI file
LEADTOOLS Medical (Leadtools.Medical.Storage.DataAccessLayer assembly)

Show in webframe

AddItem Method






the entity name
typeof of the class to be associated with the entity name
Adds an item (an associate between a user defined class and the corresponding Entity) to the internal Dictionary
Syntax
public static void AddItem( 
   string s,
   Type t
)
'Declaration
 
Public Shared Sub AddItem( _
   ByVal s As String, _
   ByVal t As Type _
) 
'Usage
 
Dim s As String
Dim t As Type
 
RegisteredEntities.AddItem(s, t)

            

            
public:
static void AddItem( 
   String^ s,
   Type^ t
) 

Parameters

s
the entity name
t
typeof of the class to be associated with the entity name
Remarks
When using a custom database with the CSStorageServerManagerDemo_Original.exe, you define a class that derives from class CatalogEntity for each table in your database. You then call AddItem to associate the class with the corresponding entity name. For example, if you have four classes (MyPatient, MyStudy, MySeries, and MyInstance) that correspond to your four custom database tables (Patient, Study, Series, and Instance), then you would call AddItem four times: RegisteredEntities.Items.Add(RegisteredEntities.PatientEntityName, typeof(MyPatient)); RegisteredEntities.Items.Add(RegisteredEntities.StudyEntityName, typeof(MyStudy)); RegisteredEntities.Items.Add(RegisteredEntities.SeriesEntityName, typeof(MySeries)); RegisteredEntities.Items.Add(RegisteredEntities.InstanceEntityName, typeof(MyInstance)); See LEAD Medical Storage Server Custom Database for more details.
Requirements

Target Platforms

See Also

Reference

RegisteredEntities Class
RegisteredEntities Members

Error processing SSI file
Leadtools.Medical.Storage.DataAccessLayer requires a Medical toolkit server license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features