My SQL Server 2008 database for one of my new projects accidentally deleted. I stayed with the LINQ to SQL schema file (DataContext schemas and classes) and hoping to restore my database structure.
Is there any way?
For a simple schema, you can simply call dataContext.CreateDatabase () - however it would be ambitious to hope that all of this will handle. I suspect that you may have to accept the loss and (unfortunately) find out about the value of backups.
For more information about CreateDatabase, see MSDN:
http://msdn.microsoft.com/en-us/library/system.data.linq.datacontext.createdatabase.aspx
DataContext.CreateDatabase
, ..
Source: https://habr.com/ru/post/1779641/More articles:What applications run in the background? - objective-cEffective conditional bit increase - cIn Excel, change only year component to date - excelforeach - loop through an object and change values - php5 - objectMysql low_priority for innodb: select which query should be stalled - sql"EXC_BAD_ACCESS", "- [Сохранение CFString]: сообщение, отправленное на освобожденный экземпляр" при прокрутке в таблице - iphoneВызов JQuery html() не возвращает значение после принудительного обновления attr - jqueryС++ и ссылки - c++echo BASH Переменные, переписывающие текстовую проблему - bashIs there a reason I should avoid this in Backbone.js? - javascriptAll Articles