File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/Simplify.FluentNHibernate Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11using System ;
2+ using Microsoft . Extensions . Configuration ;
23using FluentNHibernate . Cfg ;
34using FluentNHibernate . Cfg . Db ;
45using FluentNHibernate . Conventions ;
5- using Microsoft . Extensions . Configuration ;
66using NHibernate . Driver ;
7-
87using Simplify . FluentNHibernate . Drivers ;
98using Simplify . FluentNHibernate . Settings ;
109using Simplify . FluentNHibernate . Settings . Impl ;
@@ -358,7 +357,7 @@ private static void InitializeFromConfigMsSql(FluentConfiguration fluentConfigur
358357 . Server ( settings . ServerName )
359358 . Database ( settings . DataBaseName )
360359 . Username ( settings . UserName )
361- . Password ( settings . UserPassword ) ) ;
360+ . Password ( settings . UserPassword ?? throw new ArgumentNullException ( nameof ( settings . UserPassword ) ) ) ) ;
362361
363362 additionalClientConfiguration ? . Invoke ( clientConfiguration ) ;
364363
You can’t perform that action at this time.
0 commit comments