Domain.Email: Added class to represent a join table (many-to-many
relationship) between emails and workorders.
Domain.WorkOrder: Added a virtual collection that EF will use to
access emails by way of the join table
Data.MacheteContext: added EF definitions for Email and JoinWorkorderEmail
tables. Configured index and key relationship by extending EF's
EntityTypeConfiguration<T> objects for each table.
Was looking at how I joined images to events;
found an example of the wrong way to do it.
Renamed Email domain file to be consistent
with singular pattern for domain files.
corrected unit test name
Added EmailService; extends ServiceBase for Email. Inherits CRUD methods;
this file will contain only Email-specific service methods.
Added 2 properties to Email domain
Added Entity Framework Migration code and SQL script for Email Table
Added exception to try/catch on UnitOfWork commit; original code caught Db validation errors and wrote them to debug log, but then errored silently. re-throwing exception to make it explicit.
Added Email object to Fluent testing harness.
First successful write to Email db from MacheteService layer