Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Step 1 : Build A Guest and Pet We want a Guest object. They are going to need an ID , a name, and age.

Step 1: Build A Guest and Pet
We want a Guest object. They are going to need an ID, a name, and age. The ID should be auto-
generated.
We also want a Pet object. The pet is going to need an ID, a name, and a species. The ID should be auto-
generated.
The Guest will have a Pet object. Note that not every Guest will have a Pet but every Pet must belong to
a Guest. Have a OneToOne relationship between Guest and Pet.
Step 2: Add and View
Create an add page for your Guest and Pet. I will leave it up to you how you will design this. Remember
that a Pet must be assigned to a Guest. Also some Guests do not have pets.
In a separate page create a view that will display all the Guests. Include a column or columns for pets
that will display Pet information if the Guest has a Pet.
Step 3: Default Records
Create at least 10 default Guest and 5 Pet records to test your application.
U

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions