locked
c# events RRS feed

  • Question

  • User31862606 posted

    I have a requirement where i need to load events from sql table. where the table contains event name and even id. Based on the number of events we need to hook up logic using the c# application. let me be more clear about what i envision.

    1. think about having a sql table which has event name and event id.
    2. c# application will have to read this table and create events depending on the number of events the table contains.
    3. also the application should hook up logic to each of the respective event.
    4. all the c# classes should be extensible where in if we add a new event info to the sql table the c# app should automatically generate the event skeleton and we should be in a place where we can hook up our own logic to event.
    5. all this should happen like a loosely coupled architecture.

    so guys please share your thoughts or sample code.

    Tuesday, May 17, 2016 3:50 PM

All replies