Question: Subject : Web Programming Please Solve it ASAP! Assume we have the following model class Aublic class order { Pablic int onder_id [ get ;

Assume we have the following model class Aublic class order \{ Pablic int onder_id [ get ; set; } Public siring order_Name [get; sot] Pablic string order_Type [ get; sot ] Public sling order_Discourt_code[get; sot] Public string order_Price [get; sot ] Rewrite the model Clas again by adding the Collo validation annotations as discribed in table: \begin{tabular}{l|l} Property & \\ \hline onder-id & . Misf be hidden foom users (inwsible) \\ \hline order_pane & . must nat be blask (not empty) \end{tabular} - must coatain at least 5 charctiter and at mant 20 choodter - its labd must be displeyod - mast be equal to the value of ordor-dbre - mal give "No Matcling" as an evror msg if thene is no inatehng betwron its thbe and the onder-Nane value Ooder Ais_cade . its vike muat be displayed as passioord - its label nust be displayed as Disocut code. onder price . must be read ody in which the veor connot change its walue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
