Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6. Add the displaying annotations to the Burger class to achieve the following: a. The heading for the price column should be displayed as 'Price

image text in transcribed

6. Add the displaying annotations to the Burger class to achieve the following: a. The heading for the price column should be displayed as 'Price Each'. b. The price field should show a '\$' sign before the price in the Index page and Details page, but not in Create page and Edit page. Hint: Consider DataType.Currency. 7. Add validation annotations to the Burger class to achieve the following: a. The burger name field is required, and can only consists of English letters, digits, spaces and underscore, and has a length between 5 characters and 15 characters inclusive. b. The burger price should be in the range from $10.00 to $20.00 inclusive. 8. Add the displaying annotations to the Customer class to achieve the following: a. The heading for the Date of Birth column should be displayed as 'Birth Date'. b. The Date of Birth field should only display the date part (i.e., exclude the time part). 9. Add validation annotations to the Customer class to achieve the following: a. The family name field is required, and can only consists of English letters, hyphen and apostrophe, and has a length between 2 characters and 20 characters inclusive. b. The given name: (same as above). c. The Email Address field is required and in a valid email format. d. The Mobile Number field is required and in the format of 04xxxxxxx (i.e., there should be a space in the fifth character and in the ninth character). The error

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

More Books

Students also viewed these Databases questions

Question

List three ways of determining partitioning in a data flow diagram.

Answered: 1 week ago

Question

2. What do the others in the network want to achieve?

Answered: 1 week ago