Soooooo, I've been thinking about the fact that the CLR is now embedded in SQL Server 2005 for use in stored procs, triggers, etc. It's also come out that the ADO.NET team is collapsing the proposed System.Data.SqlServer back into the System.Data.SqlClient namespace such that accessing data whether in a traditional 2-tier, or directly inside the SQL CLR itself, is identical. The "switch" that determines whether the data is processed inside or outside the database is a new connection string attribute simply named, "context connection".
Given the simple accessibility and portability of using the System.Data.SqlClient namespace from both within and outside of the SQL CLR, I have a simple question: Is there any utility in using ORM technologies from within the SQL CLR? My dream is real algorithmic reusability from within SQL...
I'm downloading the SQL Server 2005 Feb CTP drop right now. I'm curious as to how far the traditional development/OO paradigm extends into developing stored procs in .NET...
Jeff...