Thursday, May 10, 2007

Day 2 - Creating Custom Method / Stored Proc and wiring up to Manager layer

9am

Here is our rough layout of layers, and table structure.





Created Custom Stored Proc - custom_Quiz_GetCurrentQuiz.

Regenerated Codesmith, and it made in Services.QuizService Quiz a custom method called ..
GetCurrentQuiz.

Then looked at DeepLoad (a method created by Nettiers) which loads the child properties/collections of the quiz into the quiz entity. This was in the Service layer in QuizService in a method called LoadQuestions.

The Manager layer above contains methods.... which the UI will call.

No comments: