|
@@ -41,7 +41,7 @@ namespace Luticate2.Auth.DataAccess
|
41
|
41
|
modelBuilder.Entity<{{ fk.getSourceTable().getName() }}>()
|
42
|
42
|
.HasOne(e => e.{{ fk.getSourceForeignKeyName() }})
|
43
|
43
|
.WithMany(e => e.{{ fk.getTargetForeignKeyName() }})
|
44
|
|
- .HasForeignKey("{% for column in fk.getSourceColumns() %}{{ column.getName }}{% if not (loop.last) %}, {% endif %}{% endfor %}")
|
|
44
|
+ .HasForeignKey({% for column in fk.getSourceColumns() %}"{{ column.getName }}"{% if not (loop.last) %}, {% endif %}{% endfor %})
|
45
|
45
|
.HasConstraintName("{{ fk.getName() }}");
|
46
|
46
|
{% endfor %}
|
47
|
47
|
{% endif %}{% endfor %}
|