Question
QUESTION BELOW THE LINE ON BOTTOM IN BOLD. PLEASE PROIVDE CODE. THANK YOU! Customer.cs public int CustomerId { get; set; } [Required] [StringLength(50)] public string
QUESTION BELOW THE LINE ON BOTTOM IN BOLD. PLEASE PROIVDE CODE. THANK YOU!
Customer.cs
public int CustomerId { get; set; } [Required] [StringLength(50)] public string CustomerFirstName { get; set; } [Required] [StringLength(50)] public string CustomerLastName { get; set; } [Required] [Phone] public string Phone { get; set; } [Required] public string Address { get; set; }
public ICollection
DogInfo.cs
public int DogInfoId { get; set; } [Required] public string DogName { get; set; } [Required] public string Breed { get; set; } [Required] public int Age { get; set; }
public int OwnerId { get; set; } public Customer customer { get; set; } public ICollection
Employee.cs
public string EmployeeId { get; set; } [Required] public string EmployeeFirstName { get; set; } [Required] public string EmployeeLastName { get; set; }
public ICollection
WalkInfo.cs
public int WalkInfoId { get; set; } public int Distance { get; set; } public string Notes { get; set; }
public int EmployeeId { get; set; }
public Employee Employee { get; set; }
public int DogInfoId { get; set; } public DogInfo DogInfo { get; set; }
---------------------------------------------------------------------------------------------
I'm having having troubles with my database diagram. DogInfos and Customers are connected and Employees and WalkInfos are connected but how do I get the two sides to connect to make one cohesive database?
Explanation on the general scope of the project.
Project must have at least 3 Related Model Classes and have full CRUD (Create, Read, Update, Delete Functionality) for those classes.
Demonstrate CRUD on each of these classes. Simulate deletion by setting customers enrolled bool to false instead of deleting a customers record from a database.
Project must have the ability for users to log in to use the application with at least one endpoint locked behind authentication.
You may choose any endpoint.
The UI must be customized.
The customization does not need to be extensive.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started