|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Data Access LayerCould you point me to a good resource for creating my data access layer? I have my database, I have me front end, but I want a nice layer between them so I can just call functions in my code behind to return me a list etc or the contacts of my page. I'm coding system to log contract details. At the top I have projects, each project can have many contracts. I want to be able to pull back one contract's data and be bale to write back changes. Or open a new contract to write that into the database. It may be because I'm very tired but it's not clicking (just started coding asp.net a few months ago, just getting on to layered coding - previously hard coded everything in the presentation layer). Previously I wrote in jsp whre I would create a class and I could just save that into the database, thorugh underlying mappings that I didn't set up. Any pointers to resources much appreciated. Jono Many thanks :)
Show quoteHide quote "Tasos Vogiatzoglou" wrote: > Jono, check this : > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/distapp.asp > > Have you seen the Data Access Block for .NET by Microsoft? It's a great
resource. http://www.microsoft.com/downloads/details.aspx?FamilyId=F63D1F0A-9877-4A7B-88EC-0426B48DF275&displaylang=en Google for "Microsoft Application Block" you should have the answer :)
Jono Jones wrote: Show quoteHide quote > Hi there, > > Could you point me to a good resource for creating my data access layer? I > have my database, I have me front end, but I want a nice layer between them > so I can just call functions in my code behind to return me a list etc or the > contacts of my page. I'm coding system to log contract details. At the top I > have projects, each project can have many contracts. I want to be able to > pull back one contract's data and be bale to write back changes. Or open a > new contract to write that into the database. > > It may be because I'm very tired but it's not clicking (just started coding > asp.net a few months ago, just getting on to layered coding - previously hard > coded everything in the presentation layer). Previously I wrote in jsp whre I > would create a class and I could just save that into the database, thorugh > underlying mappings that I didn't set up. > > Any pointers to resources much appreciated. > > Jono
Other interesting topics
Consuming less memory when writing a file?
run asp.net without a web server Visual Web Developer Express How do I build Code-behind into DLL in bin folder Web Projects in VS 2005 A translatable website ASP classic -> ASP.NET 2.0 Cannot display Chinese data from database Cannot POST to .XML page Application and Session state stored in SQL Server Mouseover, mouseout, click etc on datagrid. |
|||||||||||||||||||||||