/// <summary>
 /// Initializes a new instance of the <see cref="DocumentLibraryController" /> class.
 /// </summary>
 /// <param name="connectionString">The <see cref="DocumentLibraryConnectionString" />.</param>
 /// <exception cref="ArgumentNullException"><paramref name="connectionString" /> is null.</exception>
 public DocumentLibraryController(DocumentLibraryConnectionString connectionString)
 {
     _connectionString = connectionString ?? throw new ArgumentNullException(nameof(connectionString));
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DocumentLibraryContext" /> class.
 /// </summary>
 /// <param name="connectionString">The <see cref="DocumentLibraryConnectionString" />.</param>
 public DocumentLibraryContext(DocumentLibraryConnectionString connectionString)
     : base(connectionString.ToString())
 {
 }