Creating a Module
I hope that this is a good place to discuss the JobsModule example.
Item 5 in the step 'Creating the model' includes a number of attributes.
[DataContract]
Namespace. Am I right in thinking that the Namespace item in the DataContract attribute can take any form? Or should it, more properly, reflect a path in to my application?
[ManagerType]
The values here in the docs are "Jobs.JobManager, Jobs". Let's mark it as 0.1, 2.
0 represents? Up to now "Jobs" has been the name of the solution and the name of the project. So I'm assuming that 0 represents the model class's namespace, yes?
1 is the name of the manager, I see that.
2 represents?
Apologies if this is noddy stuff, but, I just doen't know it.
--
Stuart
When creating the model, how does the process differ if my model/application has multiple tables?
--
Stuart
Hello Stuart Hemming,
Let me go through your questions one by one.
The part after the comma (2) is the name of the assembly. It is the same as the name of the project in visual studio.
Regards,
Slavo
the Telerik team