CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2010
    Posts
    42

    ASP.NET MVC3 Mini Forum Help?

    Just recently took the plunge in web programming and starting with MVC. Just wondering on architectural advice. What would work best in your opinions, creating a model for each: Category, Forum, ParentThread, ChildThread and creating a reference list in each model for the child? (Parent and ChildThread could inherit from a Thread Model) That is the first way that comes to my mind so I doubt it is the correct way. Any advice?

    Thanks guys.

  2. #2
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: ASP.NET MVC3 Mini Forum Help?

    I don't think the design would be discussed with such a small and confusing data. However,I don't think your inheritance idea is rightly applicable for models. Can you explain further if you have plans to use Entity framework etc. ?
    Regards,
    Ramkrishna Pawar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured