Note: This is a two-part assignment. I will need to implement complete codes and the rest in the second assignment around a few weeks’ time which I will need you again. But this part is urgent
Assignment Scenario
Overview
The only UI for the Event-Planner App is the console window. The language for this
assignment is Visual C# and the IDE is Visual Studio. You are required to write a console
application that integrates with the existing Event-Planner App code (that will be issued to
you).
Summary of Event-Planner App already written
The system so far consists of:
• Class CalEvent that contains information about a single calendar event, and
implements Interface ICalEventPrint
• Interface ICalEventPrint that specifies how a calendar event will be printed
• A database that stores calendar event data
• A console window UI that allows the user to see all the calendar events stored in the
system
You should retain the work that has already been done, and design your
solution around it.
Minimum functionality
a) Create two subclasses of CalEvent:
• An internal event CalIntEvent that contains a field RoomNumber
• An external event CalExtEvent that contains a field CustId
b) Make it impossible to create an object of type CalEvent (virtual class)
c) Change the database to accommodate storage of the additional event data
d) Implement the UI menu options: print internal calendar events; print external calendar
events; print all events in order of start date/time
Improvements
Suggestions for features or improvements that you could implement in addition to the minimum
functionality (not an exhaustive list – you may think of others)
e) Implement UI menu option: notify clash (overlapping events)
f) Define an interface ICalEventSave. Each CalEvent subclass should implement the
interface to save itself to the database.
g) Implement UI menu options: create event; edit event
Requirements
Based on scenario I have completed most of Calendar Event Application Codes, Report and I send Calendar Event Application as well. All I need from you complete the report below, imagine that Calendar Event Application completed (shouldn’t be so difficult as I have explained it very well in the scenario and report)
Just some simple explanations in the Explain sections (1, 3, 4). (Around 70 - 80 word each)
Complete User Function Table and Table of Exceptions (2 ,4).
Reflection should be 800 word
1. UML Use Case Diagram
Explain:
2. User Function Table
Event Name Description of event Expected Input Potential errors Actions taken
Enter User Name
Menu
Show all Events
Show all clashing Events
Create Event
Edit Event
Delete Event
Save Event
3. UML Class Diagram
Explain:
4. Table Of Exceptions
Exception Name Description of Exception Action to prevent Exception
DbUpdateException
DbUpdateConcurrencyException
ArgumentNullException
ArgumentOutOfRangeException
SqlException
OutOfMemoryException
FormatException When using the ToInt32 method and the user types in anything but a number. Do a Int32.Parse(String) check before passing it to the ‘int’ variable.
See: Exception Hierarchy
Explain exception handling in Visual studio 2015-17
5. Reflection
Explain about Object-Oriented programming
Design of Event Planer application
User interface (wireframes)
Problems
o Assess the quality of the code and database that you have been given and the solution that you have designed.
o How easy is to extend the application?
o Are you satisfied with the solution that you have designed?
o Will it be straightforward to implement?