This question is locked. New answers and comments are not allowed.
Hi,
I have used ADO.NET Entities, and Linq to SQL on previous projects and find using an ORM to be a big time saver and am considing using OA on and an upcomming project. When our company purchased the entire Telerk Suite we got it mainly for the UI tools but I was intrested in looking at the ORM since we had it and my initial thoughts are that it could be a big win for us. In about an hour or so I had a prototype up an running, the ease of use is amaising and the actual implementation itself is really good too. The way the scope provider uses generics to to determine the type it will be working with is pretty cool. I did something similay using Entities Framework but it was a lot of work.
I am enjoying the process of becomming more familure with the product but have a meeting tomorrow that I would like to use as an opportunity to present OA as an option for an upcomming project and just needed a few things clairified.
The thing is with this project is that there are a number of Stored Proceedure that are allreay in use that I know they are going to want to leverage. From what I can tell it seems that with this product I have the ability to make a stored proceedure map to an object that I have created from a table. If this works as it apears to, this is big.
I want to be able to generate an object model form the tables. This will make updates inserts and deletes a snap, and give me an object model for my application. And then it seems I can map the procs to return the object types I have created from the table. This is great because I can return a customer object form the proc and then preform an update on the same object. My question is this.
What if the proc has joins? How do I handel that? Let say that the Proc joins the rep table to get the rep name. well the student object I generated form the table does not have that field. Also, once I map the proc to return that object i do not see that property added to the student object. So what is an elegant way to address this problem?
The other question I have is regarding containment. what I mean is can the student object contain a rep object, or for example we have a lot of lookup tables. It would be nice if a student object could contain a status object as oposeed to an int statusID. Is this possable using the mapping tool?
These are things I'm sure I could hash out with some time but I want to discuss these items with the rest of our development team tomorrow and it will also be nice to have an official answe form telerik to show them.
Thanks so much,
-Adam