How zenosoup/esemkalibrary works
EsemkaLibrary is a Windows Forms library-borrowing application. A member searches for their account to view active loans, can open a book search and borrow an in-stock title, then return it from the loan list; returns restore stock and may record an overdue fine. The sampled forms use a shared Entity Framework context for SQL Server persistence. The graph covers the documented product shape and sampled runtime behavior; its relationships are limited to calls and model mappings visible in excerpts.
Main entry points: EsemkaLibraryContext.cs EF data context · MainForm.cs Member and loans · Repo.cs Shared repository · Program.cs App startup
Components 12
Desktop workflow
- App startup
EsemkaLibrary/EsemkaLibrary/Program.cs - Member and loans
EsemkaLibrary/EsemkaLibrary/MainForm.cs - Book borrowing
EsemkaLibrary/EsemkaLibrary/BorrowingForm.cs
Library data
- Shared repository
EsemkaLibrary/EsemkaLibrary/Repo.cs - EF data context
EsemkaLibrary/EsemkaLibrary/Model/EsemkaLibraryContext.cs - SQL Server
- Book records
EsemkaLibrary/EsemkaLibrary/Model/Book.cs - Borrowing records
EsemkaLibrary/EsemkaLibrary/Model/Borrowing.cs - Member records
EsemkaLibrary/EsemkaLibrary/Model/Member.cs - Book genre links
EsemkaLibrary/EsemkaLibrary/Model/BookGenre.cs - Genre records
EsemkaLibrary/EsemkaLibrary/Model/Genre.cs
Other components
- Library user
Connections 13
- Library user → App startup: launches
EsemkaLibrary/EsemkaLibrary/Program.cs - App startup → Member and loans: opens
EsemkaLibrary/EsemkaLibrary/Program.cs - Library user → Member and loans: searches and returns
EsemkaLibrary/EsemkaLibrary/MainForm.cs - Member and loans → Book borrowing: opens borrowing
EsemkaLibrary/EsemkaLibrary/MainForm.cs - Member and loans → Shared repository: queries and updates
EsemkaLibrary/EsemkaLibrary/MainForm.cs - Book borrowing → Shared repository: searches and saves
EsemkaLibrary/EsemkaLibrary/BorrowingForm.cs - Shared repository → EF data context: creates
EsemkaLibrary/EsemkaLibrary/Repo.cs - EF data context → SQL Server: configures provider
EsemkaLibrary/EsemkaLibrary/Model/EsemkaLibraryContext.cs - EF data context → Book records: maps
EsemkaLibrary/EsemkaLibrary/Model/EsemkaLibraryContext.cs - EF data context → Borrowing records: maps
EsemkaLibrary/EsemkaLibrary/Model/EsemkaLibraryContext.cs - EF data context → Member records: maps
EsemkaLibrary/EsemkaLibrary/Model/EsemkaLibraryContext.cs - EF data context → Book genre links: maps
EsemkaLibrary/EsemkaLibrary/Model/EsemkaLibraryContext.cs - EF data context → Genre records: maps
EsemkaLibrary/EsemkaLibrary/Model/EsemkaLibraryContext.cs