473,396 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Refereshing SQL schema changes in LinQ to SQL O/R designer

20
Hi,

The Visual Studio Linq for SQL designer is not supporting refreshing tables and column information from the database.
For example,I have created LINQ to SQL classes that are mapped to database tables by dragging tables from Server Explorer onto the O/R Designer.
I dragged a table named emp onto the O/R designer.

Now,if add a new column in emp table in database,and if I refresh O/R designer,
the added column is not effected on the table in O/R designer.
If I remove the table and again if I drag the emp table from Server Explorer onto O/R designer,I can see the added column now.


Without removing table and adding again,
Is there any way to refresh the designer.

Please help me regarding this.

Thanks,
Silpa
Mar 5 '08 #1
1 1952
Hi,

The Visual Studio Linq for SQL designer is not supporting refreshing tables and column information from the database.
For example,I have created LINQ to SQL classes that are mapped to database tables by dragging tables from Server Explorer onto the O/R Designer.
I dragged a table named emp onto the O/R designer.

Now,if add a new column in emp table in database,and if I refresh O/R designer,
the added column is not effected on the table in O/R designer.
If I remove the table and again if I drag the emp table from Server Explorer onto O/R designer,I can see the added column now.


Without removing table and adding again,
Is there any way to refresh the designer.

Please help me regarding this.

Thanks,
Silpa

Hello Silpa,

Have you heard about a new database synchronization tool Database Restyle (http://www.perpetuumsoft.com/Product.aspx?lang=en&pid=55) that supports LINQ To SQL object model and allows automatic synchronzation of LINQ To SQL model with your live database. Hope this helps.

Kind Regards,
Kate
Mar 25 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Al Christoph | last post by:
Please forgive me if this is the wrong place to post this. The last place I posted got me a fairly rude response. I guess vb.db people just don't want to think about XML as database. At any rate,...
7
by: Robert Stearns | last post by:
I ran the following bit of SQL and my PRIMARY KEY wound up in schema SYSIBM called SQL.... not schema is3 called primary. The index registation did wind up there. Obviously there's something I...
2
by: Frosty | last post by:
Howto make datagrid enforce rules of xml schema? Created xml schema in the designer. Constraints created there using the following <xs:simpleType name="zipcode"><xs:restriction...
0
by: # Cyrille37 # | last post by:
Hello, Printing a Dataset Schema Designer view is painfull. I got only bad result. I would like to know if there are applications that can open Dataset Schema Designer 's files ? Or is there...
2
by: Doru Roman | last post by:
Hi, I use C# to validate an XML document. It issues error messages and I do not understand why. Here is the XML document: <bookstore xmlns="http://tempuri.org/books.xsd"> <book...
0
by: yisroem | last post by:
Hi Everybody, I am just getting to grips with ASP.NET 2.0. as per my reading I understand that it is possible for a data control (such as the GridView, DetailsView etc.) to reflect upon the...
3
by: Dave Anson | last post by:
The DataSet designer in Visual Studio 2005 is still pointing to the old database. I have done this before and it worked without a hitch. The problem is that I have moved the database and...
0
by: nmaddock | last post by:
Hi Guys, seen this example on msdn, how can i remove the invalide nodes and elements when they fail against the schema and then save to a new xml document. any help would be great my code is...
0
by: Andy B | last post by:
I added a LINQ classes (dbml) file to my web application project and drug a sql server database table from the server explorer onto the o/r designer. I saved and closed the designer after that. I...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.