1

Topic: ms sql

1 how to make that in the field ms sql was unique? Whether 2 it is possible to create mdf a file program?

2

Re: ms sql

Hello, VVVa, you wrote: VVV> 1 how to make that in the field ms sql was unique? Whether VVV> 2 it is possible to create mdf a file program? 1. https://docs.microsoft.com/ru-ru/sql/re … erver-2017 2. Entity Framework Code First https://msdn.microsoft.com/en-us/library/jj193542 (v=vs.113).aspx https://metanit.com/sharp/entityframework/1.2.php generally I advise to esteem articles on https://metanit.com

3

Re: ms sql

Hello, VVVa, you wrote: VVV> 1 how to make that in the field ms sql was unique? If you meant uniqueness of value in the field look aside primary key or unique index, depending on that that is closer under the task. Whether VVV> 2 it is possible to create mdf a file program? A question in that how much program you want to make it? In the presence of a SQL Server copy, you can use SMO and.Net the Variant with ADO.Net and T-SQL besides nobody cancelled. But here if tasks it is necessary to create a format file mdf in absence of a SQL Server regular means are powerless. It is necessary to search for alternative in the form of indirect libraries.

4

Re: ms sql

Hello, Olaf, you wrote: O> the Question in that how much program you want to make it? In the presence of a SQL Server copy, you can use SMO and.Net the Variant with ADO.Net and T-SQL besides nobody cancelled. But here if tasks it is necessary to create a format file mdf in absence of a SQL Server regular means are powerless. It is necessary to search for alternative in the form of indirect libraries. And even easier to drag with itself in advance prepared template.mdf in resources and as required to unpack it on a disk and to do sp_attach_db