WorldofASP.NET : ASP.NET Directory, Tutorial, Hosting, and Source Code
You are 1 of 132 users


LINQ to SQL Dynamic Mapping

Blogger : DotNetSlackers Latest ASP.NET News in Category SQL
All posts : All posts by DotNetSlackers Latest ASP.NET News in Category SQL
Category : MSSQL
Blogged date : 2008 Jul 23

The problemYou have SQL Servers for each of your environments (development, test, pre-prod, production) and in each one, the table names are different.  In fact, its not the table names that are different but the schema names but since the schema name is part of the table name, it must be specified.Ex : dev.ZeTable et prod.ZeTable Easy to solve, right?  Just put the schema value in the config file and do a simple concatenation at runtime.  Well, its not as easy as it seams because...

Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.



Read comments or post a reply to : LINQ to SQL Dynamic Mapping
Page 403 of 1924
Next | Last

.NET News Categories








Legend : - Within 3 Days - Within 6 Days - Within 9 Days

Home | Add Resources | Sponsored Listings | Advertise with Us | SiteMap 1 | SiteMap 2 | Link To Us | Contact Us
© 2002-2008 Worldofasp.net ASP.NET Directory, Hosting and Tutorials | All rights reserved
Our Partners : ASP.NET Web Hosting | Windows Web Hosting | ASP.NET Hosting | Phone Card | PHP Directory | Bangkok Hotels |Calling Card