A database has been created to support the principal functions of a lending library’s day-to-day operations: adding new members (adult and juvenile) and checking books in and out. An assembly has been created that contains classes and interfaces that provide access to the database for these functions. What is needed is a Windows Forms-based front-end application that will provide a librarian with a visual interface through which he or she may perform the desired functions. Creating that application will be your task.
Design and develop a front end application that satisfies the four basic functionalities: Add Adult, Add Juvenile, Check In a book, Check Out a book.
Develop code that is easily maintainable.
Provide validation for all required fields (see details below).
Provide adequate error handling.
Produce a user interface that is intuitive, requiring minimal training for users while minimizing resource utilization.
-- Raise an error with the details of the exception
DECLARE @ErrMsg nvarchar(4000), @ErrSeverity int --, @ErrNumber int
SELECT @ErrMsg = ERROR_MESSAGE(),
@ErrSeverity = ERROR_SEVERITY()
RAISERROR( @ErrMsg, @ErrSeverity, 1)
(Web Application to replace Windows Front-End requirements)
When displaying an adult’s information, the application should detect if the card is expired and give the librarian a chance to renew the card. Librarian must be able to choose whether or not to renew the card. The renewal date is today plus one year. Members can not check out books if the card is expired.
When dealing with juveniles, the application should detect if the juvenile is 18 years old or older and convert the member to an adult (row deleted in the juvenile table, row added to the adult table). This operation is not at the discretion of the librarian; i.e. the upgrade must take place automatically and the librarian must be notified that the updgrade has taken place.
Overdue books, shown in any display, must be highlighted.
The librarian must be able to enter a new book into the database. If the ISBN already exists in the database, all that is needed is to add a record for a new copy number. If the ISBN does not yet exist in the database, you must add all necessary records for the new ISBN and a new copy number 1 for that ISBN.
Use of hyperlinks to navigate between pages.
Project locations and requirements:
Create your web application project as a File System project. Your solution folder must contain all your project folders so that when you submit the solution folder all necessary parts of your application are present. Your solution must include the source for all your projects; i.e. not just the DLLs for your business tier and data access tier projects.