Adds an item (an associate between a user defined class and the corresponding Entity) to the internal Dictionary
s
the entity name
t
typeof of the class to be associated with the entity name
When using a custom database with the StorageServerManagerDemo_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));
For more information, refer to LEAD Medical Storage Server Custom Database.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document