Showing posts with label ORM. Show all posts
Showing posts with label ORM. Show all posts

Friday, October 12, 2007

NHibernate: 1.2.0GA Released

NHibernate is a port of Hibernate to the .NET platform. Hibernate is the leading open-source object-relational persistence library for Java, used to persist plain objects in relational databases.


After several years of development, the first stable version of NHibernate, version 1.0, is now available for download. This version is comparable to Hibernate 2.1 in terms of features, with a few small differences.

With the release of version 1.0, NHibernate is also joining the original Hibernate project at JBoss Inc., the company providing support and training services around Hibernate.

More information about NHibernate:
http://www.nhibernate.org/

Download NHibernate 1.2.0GA:
https://sourceforge.net/project/showfiles.php?group_id=73818&package_id=73969

Download NHibernateContrib 1.0.4:
https://sourceforge.net/project/showfiles.php?group_id=73818&package_id=138561

Monday, August 20, 2007

Article: LINQ to SQL (Part 6 - Retrieving Data Using Stored Procedures)

LINQ to SQL is a built-in O/RM (object relational mapper) that ships in the .NET Framework 3.5 release, and which enables you to model relational databases using .NET classes. You can use LINQ expressions to query the database with them, as well as update/insert/delete data.

This is the 6th article that Scott Guthrie has written about LINQ. The first 5 can be found below.

Part 1: Introduction to LINQ to SQL
Part 2: Defining our Data Model Classes
Part 3: Querying our Database
Part 4: Updating our Database
Part 5: Binding UI using the ASP:LinqDataSource Control

What is covered in the 6th article?

To SPROC or not to SPROC? That is the question....
The Steps to Map and Call a SPROC using LINQ to SQL
How to Map a SPROC to a LINQ to SQL DataContext
How to Call our Newly Mapped SPROC
Mapping the Return Type of SPROC Methods to Data Model Classes
Handling SPROC Output Parameters
Handling Multiple Result Shapes from SPROCs
Supporting User Defined Functions (UDFs)
Summary



Read the article here: http://weblogs.asp.net/scottgu/archive/2007/08/16/linq-to-sql-part-6-retrieving-data-using-stored-procedures.aspx

Friday, June 1, 2007

Podcast: Frans Bouma on LLBLGen

DotNetRocks has published their latest podcast. Carl and Richard talk with Frans Bouma, author of LLBLGen, a very popular ORM modeling and code generation tool for .NET

Download the podcast here: http://dotnetrocks.com/default.aspx?showID=246

Frans Bouma started programming in 1986 on a Toshiba MSX-1, at the age of 16. After graduating with a bachelor degree in Computer Science from the 'Hogeschool Enschede' in the Netherlands in 1994, he started working with 4GL systems and post-relational databases, like uniVerse. In 1996 he founded Solutions Design, a company for database driven web-application development. As the lead developer, he developed medium to large enterprise web applications using SqlServer, AS400, COM+, VC++, Visual Basic and Asp. In 2001 Solution Design produced a content management system completely based on Microsoft technologies like SqlServer 2000, COM+, VC++, VB6 and asp. In 2002 Frans developed in C# his first .NET application, the open source LLBLGen code generator for SqlServer stored procedures and .NET classes. Due to the worldwide success of LLBLGen, Frans designed and developed in 2003 for Solutions Design the O/R mapper and code generator LLBLGen Pro, which is currently one of the market-leading data-access solutions for .NET, C# and VB.NET. Frans received for his community efforts the MVP reward for C# in 2004, 2005, 2006 and 2007 and works full time on LLBLGen Pro enhancements. In 2006, HnD, a full featured support system/forum system for ASP.NET 2.0 was released as open source (GPL), written and designed by Frans Bouma.

Thursday, May 3, 2007

NHibernate Best Practices with ASP.NET, 1.2nd Edition

The NHibernate Best Practices with ASP.NET article has been updated

Article Contents

Introduction
Why Use an ORM?
Goals and Overview of Article
Running the Sample Applications
NHibernate Integration Basics

Architectural Notes
The Basic Sample Application
BasicSample.Tests with NUnit, NUnitAsp, Rhino Mocks and Fit
BasicSample.Core for Defining the Domain Layer
BasicSample.Data for Implementing NHibernate Communications
BasicSample.Web for Tying it all Together
Extending the Basics to an "Enterprise" Solution
Real-World Architecture
Beyond the Basics
Where to go from here?
Migrating from NHibernate 1.0x to 1.2
Summary of NHibernate/ASP.NET Best Practices



In addition to an overhaul of the original sample code, an expanded "enterprise" sample has been included demonstrating:
NHibernate with web services
NHibernate with multiple databases
Integration with Castle Windsor
A reusable data layer for the data access components.
A simple example of Model-View-Presenter

Read the article and download the sample code here: http://www.codeproject.com/aspnet/NHibernateBestPractices.asp