File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
src/Moryx.Model.SqlServer Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,16 @@ public class SqlServerDatabaseConfig : DatabaseConfig
1919 public override string ConfiguratorType => typeof ( SqlServerModelConfigurator ) . AssemblyQualifiedName ;
2020
2121 /// <summary>
22- /// Name of the database associated with the connection
22+ /// Name or network address of the instance of SQL Server to connect to.
23+ /// </summary>
24+ [ Required ]
25+ [ DefaultValue ( "localhost,1433" ) ]
26+ [ Description ( "Name or network address of the instance of SQL Server to connect to." ) ]
27+ [ ConnectionStringKey ( "Server" ) ]
28+ public string Server { get ; set ; }
29+
30+ /// <summary>
31+ /// Name of the database associated with the connection.
2332 /// </summary>
2433 [ Required ]
2534 [ DefaultValue ( "<DatabaseName>" ) ]
@@ -28,15 +37,15 @@ public class SqlServerDatabaseConfig : DatabaseConfig
2837 public string InitialCatalog { get ; set ; }
2938
3039 /// <summary>
31- /// User ID to be used when connecting to SQL Server
40+ /// User ID to be used when connecting to SQL Server.
3241 /// </summary>
3342 [ DefaultValue ( "sa" ) ]
3443 [ Description ( "User ID to be used when connecting to SQL Server" ) ]
3544 [ ConnectionStringKey ( "User Id" ) ]
3645 public string UserId { get ; set ; }
3746
3847 /// <summary>
39- /// Password to be used when connecting to SQL Server
48+ /// Password to be used when connecting to SQL Server.
4049 /// </summary>
4150 [ Password ]
4251 [ DefaultValue ( "password" ) ]
You can’t perform that action at this time.
0 commit comments