This is a migrated thread and some comments may be shown as answers.

instructions to create a 3 tire application

2 Answers 119 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
PureRamu
Top achievements
Rank 1
PureRamu asked on 28 May 2009, 09:00 AM
I want to know the step by step instruction to  create a 3 tire web application using this orm

2 Answers, 1 is accepted

Sort by
0
PureRamu
Top achievements
Rank 1
answered on 28 May 2009, 03:17 PM


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

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

 

 

 

 

 

0
Alexander
Telerik team
answered on 29 May 2009, 07:43 AM
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.
Tags
Getting Started
Asked by
PureRamu
Top achievements
Rank 1
Answers by
PureRamu
Top achievements
Rank 1
Alexander
Telerik team
Share this question
or