public CardholderFinder(PersonBLLCollection People, string CardID)
        {
            people        = People;
            LibraryCardID = CardID;

            FindCardholder();
        }
 public AuthorSearch(PersonBLLCollection People, string FirstNameQuery, string LastNameQuery)
 {
     people    = People;
     FirstName = FirstNameQuery;
     LastName  = LastNameQuery;
     FindAuthor();
 }
 public BookUpdater(BookBLLCollection Books, PersonBLLCollection People, CheckOutLogBLLCollection Logs, BookBLL targetBook)
 {
     books  = Books;
     people = People;
     logs   = Logs;
     Book   = targetBook;
     GetNames();
 }
        public BookSearch(BookBLLCollection Books, PersonBLLCollection People, string Query)
        {
            books      = Books;
            people     = People;
            QueryTerms = Query;

            //When this class is created it splits the query
            splitQuery = SplitQueryTerms(QueryTerms);
        }
        public BookBuilder(BookBLLCollection Books, PersonBLLCollection People, string ISBN)
        {
            books  = Books;
            people = People;
            iSBN   = ISBN;

            Book = new BookBLL()
            {
                ISBN = iSBN
            };
        }
Beispiel #6
0
        public AuthorBuilder(PersonBLLCollection People, string FirstName, string LastName)
        {
            people    = People;
            firstName = FirstName;
            lastName  = LastName;

            //This is just for UI purposes during author creation
            Author = new AuthorBLL()
            {
                FirstName = firstName,
                LastName  = lastName
            };
        }
 public LibrarianMenuLists(PersonBLLCollection People, BookBLLCollection Books, CheckOutLogBLLCollection Logs)
 {
     people = People;
     books  = Books;
     logs   = Logs;
 }
 public CardholderBuilder(PersonBLLCollection People)
 {
     people      = People;
     IsNewPerson = false;
 }
 public BookUpdater(BookBLLCollection Books, PersonBLLCollection People, CheckOutLogBLLCollection Logs, BookBLL targetBook, bool remove) : this(Books, People, Logs, targetBook)
 {
     RemoveCopies = remove;
 }