CodeSmith Community
Your Code. Your Way. Faster!

Nettiers Configuration Issue

Latest post 10-19-2006 5:43 AM by pritcham. 1 replies.
  • 10-19-2006 5:29 AM

    Nettiers Configuration Issue

    Hi everyone,

    I'm new to nettiers and I am having a big issue. I set up my original sql database and made sure all the relationships were correct with the appropiate foreign key constraints. I started up the nettiers 0.9.2 template and tried the creation of my code. It returned  3 main directories (test.DataAccessLayer, test.DataAccessLayer and test) - test is my namespace. Upon completion I tried compiling and building the generated code, which was successful, I added the created dll's as a reference into my website (this is all using VS2005). I needed to list all the items in a specific table so I approached this as the documentation mentions, however when I tried to create a new object of type TList there was no declaration for it. I tried everything to make it appear with no luck.

    Obviously I'm misconfiguring something here and I need some help to solve this issue. It could be my database schema or the actual configuration of the template. I checked the documentation, and the examples they gave me don't seem to apply to my nettiers template. I seem to be missing several sections, I have a total of 6 on my template: Code Style, CRUD Options, DataSource,Documentation, General, NameSpaces, Stored Procedures Style, WebService

    Please can some one help me

     

    Thank you 

    • Post Points: 35
  • 10-19-2006 5:43 AM In reply to

    Re: Nettiers Configuration Issue

    Hi

    I believe that the .92 version is for .Net 1.1 (as opposed to .Net 2) and therefore doesn't include TList as this is a list using Generics.  If you're using that version for a reason then you'll need to refer to the documentation at: http://www.nettiers.com/archive/nettiers-manual-v1.aspx (as a hint, instead of the TLists you should find definitions for entityCollection - i.e. CustomerCollection for a table named Customer).  If you want to use the .Net 2 features then I'd suggest taking a look at the .95 branch.

     

    Hope that helps

    Martin

    Filed under: ,
    • Post Points: 5
Page 1 of 1 (2 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems