DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sat, 11 Aug 2007 07:51:10 -0700,    posted on: microsoft.public.dotnet.framework.adonet        back       

Thread Index
  1    TheCornjerker
          2    Miha Markic miha at rthand com


Linq to Sql and database changes   
I have setup a .dbml file from an SQL table.  I have inserted a new
column and deleted an old column from the database table that
the .dbml file is associated with.  How do I refresh the .dbml file to
take into consideration the database changes?

Thanks,
C
Date:Sat, 11 Aug 2007 07:51:10 -0700   Author:  

Re: Linq to Sql and database changes   
Hi,

By hand or by removing the class and add it again or by regenerating dbml 
using sqlmetal.
AFAIK there is no other update functionality.
It sucks, doesn't it.

-- 
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"TheCornjerker"  wrote in message 
news:1186843870.219849.18280@z24g2000prh.googlegroups.com...

>I have setup a .dbml file from an SQL table.  I have inserted a new
> column and deleted an old column from the database table that
> the .dbml file is associated with.  How do I refresh the .dbml file to
> take into consideration the database changes?
>
> Thanks,
> C
> 
Date:Sat, 11 Aug 2007 17:31:59 +0200   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us