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 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 <see href="https://www.leadtools.com/help/leadtools/v19m/dh/to/di-topics-leadmedicalstorageservercustomdb.html">LEAD Medical Storage Server Custom Database</see> for more details.
Products |
Support |
Feedback: AddItem Method (RegisteredEntities) - Leadtools.Medical.Storage.DataAccessLayer |
Introduction |
Help Version 19.0.2017.3.23
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.