I have heard here that this is possible in "Visio Enterprise Architect" .. is this correct? if yes, what type of visio is this? A standalone app like visio 2010?
Any other plugin that can help in achieving this from Visio 2010? If not, what are other softwares that can do that i.e Data Model to SQL Server DB.
The last Visio Enterprise Architect was 2003/2005. Visio 2010 does not support forward engineering out of box and this was a stupid idea from Microsoft.
But there is a simple plugin for Visio 2010 which generates SQL from your DB scheme: http://forwardengineer.codeplex.com
Related
Folks.
I am responsible for converting a VS2008 Report Model Project (.SMDLPROJ) into its "equivalent" form under VS2017. Obviously, Report Models are no longer supported under SSDT for VS2017 (otherwise, I wouldn't be posting to this web site). If someone could point me in the right direction it would be most appreciated.
Thank you.
Actually SQL Server 2017 AND 2019 still support report models, BUT you need to deploy them from within a visual studio project (get BIDS from a SQL Server 2008 R2 installation). Trying to upload a .smdl file will fail.
To answer my own question these links should help:
Report model replacement in SQL Server 2016
Report Model SMDL Alternatives in SQL Server 2012
I have a Code First project with Entity Framework 5.0.0 using localdb created in Visual Studio 2012 Ultimate.
Although I can see my class relations in a Class Diagram, how to see a visual diagram of automatic generated database by EF ?
Install Entity Framework Power Tools Beta 4, restart Visual Studio, right-click on the context in your solution view and you'll see a new 'Entity Framework' option in the context menu. Select 'View Entity Data Model' to see a beautiful visual database diagram in Visual Studio. VoilĂ !
Entity Framework 6 Power Tools: Link
You can use Microsoft SQL Server Management Studio 2012 with localdb which supports Database Diagrams in they way you may be used to with other SQL Server database.
Open Management Studio (should have been installed with Visual Studio)
Connect to (localdb)\v11.0, with Windows Authentication
Find the relevant database
Expand Database Digrams, and install diagram support objects if you've not already
Add the tables you need and you're done!
Source: This older but still relevant article: http://visualstudiomagazine.com/blogs/data-driver/2012/05/visual-studio-11-beta-easier-development-localdb.aspx
I checked out the Entity Framework Power Tools Beta 4 and it is no longer being supported. Intead, you can use the new Entity Framework 6 Power Tools Community Edition.
It is supposed to work the same.
I have designed a database with Visio 2010 Professional. I am now looking for a way to actually create a database and tables. something like this However Forward engineer executable seems broken. Is there any other utility that can create a Database for me by looking at visio schema?
I use this Visio add-in all the time and do not have any problems.
What issues are you having?
Back at Tech Ed in 2008, Microsoft announced that:
IBM and Microsoft have agreed to work together to integrate IBM DB2 database access with Visual Studio Team System Database Edition.
-- Microsoft Press Release - 6/3/2008
Has anyone seen evidence that this has actually happened? More importantly, has anyone had success moving DB2 projects to VS 2010?
We have some DB2 database projects that rely on the IBM Database Add-ins for Visual Studio 2008. I have been unable to find any mention of 2010 Add-Ins on IBM's site and they only support the add-ins through forums. I asked about VS 2010 support on the forums and got no response.
It looks like the beta for VS 2010/.net 4.0 support is finally out. I'll follow up after we've done some testing.
DB2 VS 2010 add-in (Beta) (NOTE: Original link is dead. See archived page.)
I have a MS-SQL database on a server and have decided to play around with source control for the database. I want to create a database project and include that project within my solution. Is there any way to "import" an existing database into a database project in Visual Studio 2008?
I have run a few searches but I haven't really found anything of substance yet. Any ideas will be welcome!
Thanks
Yes. If you have Visual Studio 2008 Team System, then the Database Edition GDR release 2 add-on is the way to go.
You can download from here: Microsoft® Visual Studio Team System 2008 Database Edition GDR R2
You can find a list of features here.
Also, Introducing New Features In The VSTS Database Edition GDR
Update: In response to poster's comment about not having the Team System version, you can still use the original Database Project that comes with Visual Studio, but it is not as fully featured as the new GDR R2 version.