简体   繁体   English

如何在没有图表的Azure中设计SQL数据库?

[英]How do you design SQL database in Azure without diagrams?

I had to move some of my databases from SQL Server hosted in my pc to Azure. 我不得不将某些数据库从PC托管的SQL Server迁移到Azure。 In order to import my DBs Azure demanded that I remove diagrams. 为了导入我的数据库,Azure要求我删除图表。

And in SQLServer explorer in VS2015 there's no possibility to create diagrams. 而且在VS2015中的SQLServer Explorer中,无法创建图表。 Diagrams helped me a lot! 图表对我有很大帮助! When you have 10+ tables in DB you could create more then one diagram, which reflects some part of subject area. 当数据库中有10个以上的表时,您可以创建一个以上的图,该图反映了主题区域的某些部分。 And all changes in diagram reflected on DB itself, so consistency was maintained (I doubt it would, if I use third party tool for design/diagrams). 图表中的所有更改都反映在数据库本身上,因此保持了一致性(如果我使用第三方工具进行设计/图表,我会怀疑)。

So... What's the common approach to database design, if using Azure? 那么...如果使用Azure,什么是数据库设计的常用方法? Rely on third party tools? 依靠第三方工具? Keep everything in mind (impossible)? 牢记一切(不可能)?

Or, perhaps, I missed something, and diagrams are there? 或者,也许我错过了一些东西,并且有图表吗?

Maybe This could help? 也许这可以帮助? https://alexandrebrisebois.wordpress.com/2013/10/26/create-database-diagrams-of-your-windows-azure-sql-databases/ It's a blog post by a friend of mine talking about just that... Hope it helps ... BTW did You install SSTD on VS? https://alexandrebrisebois.wordpress.com/2013/10/26/create-database-diagrams-of-your-windows-azure-sql-databases/这是我的一个朋友发表的一篇博客文章,内容涉及...希望对您有帮助... BTW您是否在VS上安装了SSTD? If nog that might already help too 如果可以,那可能也已经有所帮助

Azure SQL Database doesn't support Database Diagrams as of yet. 到目前为止,Azure SQL数据库不支持数据库图。 You have to rely on third party like dbForge Studio for generating these diagrams. 您必须依靠dbForge Studio这样的第三方来生成这些图。

Another approach is to create a simple console application in C# and generate EDMX using Entity Framework, this would still suffice for graphical user interface. 另一种方法是使用C#创建一个简单的控制台应用程序,并使用Entity Framework生成EDMX,这对于图形用户界面仍然足够。

Also you can use SQL Database Migration tool , which can get your Azure SQL Database to your local SQL Server and can generate schema diagrams. 您还可以使用SQL数据库迁移工具 ,该工具可以将Azure SQL数据库获取到本地SQL Server并生成架构图。

You can now do this in the preview version of 2016 SSMS. 现在,您可以在2016 SSMS的预览版中执行此操作。 google "SQL Server Management Studio preview" or try https://msdn.microsoft.com/en-us/library/mt238290.aspx google“ SQL Server Management Studio预览”或尝试https://msdn.microsoft.com/zh-cn/library/mt238290.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在C#中为Azure SQL数据库添加AAD - How can you add AAD for Azure SQL Database in C# 如何在C#中设置Azure SQL Server的名称? - How do you set the name of a Azure SQL Server in C#? 如何以编程方式创建Azure网站和SQL数据库? - How do I create an Azure Website and SQL Database programmatically? 如何使用Linq 2 SQL更新对象而没有行版本或时间戳? - How do you update an object with Linq 2 SQL without rowversion or timestamp? SQL AZURE中的设计联合 - Design Federation in SQL AZURE azure ad users to combobox without azure sql database wpf - azure ad users to combobox without azure sql database wpf 如何在不写入文件的情况下压缩 stream 并将其上传到 Azure Blob 存储? - How do you compress a stream and upload it to Azure Blob Storage without writing to a file? 如何在没有嵌套类的情况下在Azure Functions中共享扩展方法? - How do you have shared extension methods in Azure Functions without nesting classes? 如何获取Azure订阅的OfferDurableId? - How do you get the OfferDurableId for an Azure subscription? 如何添加到ICollection列表并将其保存到数据库而又不会出现对象处置异常? (实体框架) - How do you add to an ICollection list and save it to a database without gettingan object disposed exception? (Entity Framework)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM