instructions to create a 3 tire application

3 posts, 0 answers
  1. PureRamu
    PureRamu avatar
    37 posts
    Member since:
    Feb 2009

    Posted 28 May 2009 Link to this post

    I want to know the step by step instruction to  create a 3 tire web application using this orm
  2. PureRamu
    PureRamu avatar
    37 posts
    Member since:
    Feb 2009

    Posted 28 May 2009 Link to this post


    I have created   a class library and enabled   for open access by ticking DAL only(classLib1).
    I have created   another   class library and enabled   for open access by ticking

     Persistent classes (classLib2)

    in the second  case i found it creates business objects. Well
    business objects have all properties. But i can’t find any function there.
    I am expecting some basic functions code to be there.
    For example if I have a table called Product, I will also have a business object as Product.

    I am expecting some function in the  product class in classLib2

    like  getAllproduct()

    update(anObjofProduct)

    insert(anObjofProduct)

     

     

    All the functions should call its corresponding  function in DAL

    These functions are also expected to be written there in DAL.

     

    My question is that do OpenAccess ORM writes at lest such basic function for us?

    if it writes why I did not find it in my bll?

    What can I do to get it write?

     

     

    …………………………………………………………………….

    in short can I  replce the codeSmith tool( http://www.codesmithtools.com/)/

    by    OpenAccess ORM

    …………………………………………………………………….

     

     

     

     

     

  3. DevCraft banner
  4. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 29 May 2009 Link to this post

    Hello PureRamu,

    The OpenAccess approach is a bit different from what you have expected but I am sure you will find it even simpler to use. The most important thing you have to know is that all objects are managed through a class named ObjectScope. It takes care of reading/storing objects and tracking their changes. You can find more detailed information about dealing with objects in this article. I believe our Knowledge base section will be helpful to you as well as our Code library which contains many demo applications.

    Kind regards,
    Alexander
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top