Skip to content

Commit

Permalink
#354 Remove C# 7 features. Thanks to bbieb.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjh37 committed Nov 30, 2017
1 parent 12e430c commit 6e0c96c
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -58,8 +58,8 @@
private static string _dbContextInterfaceName;
public static string DbContextInterfaceName
{
get => _dbContextInterfaceName ?? ("I" + DbContextName);
set => _dbContextInterfaceName = value;
get { return _dbContextInterfaceName ?? ("I" + DbContextName); }
set { _dbContextInterfaceName = value; }
}

public static string DbContextInterfaceBaseClasses;
Expand All @@ -68,8 +68,8 @@
private static string _defaultConstructorArgument;
public static string DefaultConstructorArgument
{
get => _defaultConstructorArgument ?? string.Format('"' + "Name={0}" + '"', ConnectionStringName);
set => _defaultConstructorArgument = value;
get { return _defaultConstructorArgument ?? string.Format('"' + "Name={0}" + '"', ConnectionStringName); }
set { _defaultConstructorArgument = value; }
}

public static string ConfigurationClassName = "Configuration";
Expand Down

0 comments on commit 6e0c96c

Please sign in to comment.