Skip to content

Commit 6e0c96c

Browse files
committed
#354 Remove C# 7 features. Thanks to bbieb.
1 parent 12e430c commit 6e0c96c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

EntityFramework.Reverse.POCO.Generator/EF.Reverse.POCO.Core.ttinclude

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
private static string _dbContextInterfaceName;
5959
public static string DbContextInterfaceName
6060
{
61-
get => _dbContextInterfaceName ?? ("I" + DbContextName);
62-
set => _dbContextInterfaceName = value;
61+
get { return _dbContextInterfaceName ?? ("I" + DbContextName); }
62+
set { _dbContextInterfaceName = value; }
6363
}
6464

6565
public static string DbContextInterfaceBaseClasses;
@@ -68,8 +68,8 @@
6868
private static string _defaultConstructorArgument;
6969
public static string DefaultConstructorArgument
7070
{
71-
get => _defaultConstructorArgument ?? string.Format('"' + "Name={0}" + '"', ConnectionStringName);
72-
set => _defaultConstructorArgument = value;
71+
get { return _defaultConstructorArgument ?? string.Format('"' + "Name={0}" + '"', ConnectionStringName); }
72+
set { _defaultConstructorArgument = value; }
7373
}
7474

7575
public static string ConfigurationClassName = "Configuration";

0 commit comments

Comments
 (0)