Q: You extended a table to add fields in Visual studio, you performed a build, but you aren't seeing the new fields that you added to the table. Which of the following actions should you perform to ensure your table extension updates, and displays on the table?
-
A
Debug the table code
-
B
Database synchronization
-
C
Run a code analysis on the solution
-
D
Create a deployable package
B
Answer:
B
Explanation:
Correct Answer: Database synchronization
đ Why?
-
Build compiles code, but database sync applies table schema changes (like new fields) to the actual SQL database.
-
Without sync, the physical database won’t reflect the new structure.
â Why other options are incorrect:
-
Debug the table code:
→ Debugging helps find runtime issues but doesn’t sync schema.
-
Run a code analysis on the solution:
→ This checks code quality and standards, not table schema updates.
-
Create a deployable package:
→ This is for deployment to other environments, not for applying schema locally.
Related Topic:
Share Above MCQ