Skip to content

Commit

Permalink
fix test to check for EntityAssociationAttribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Svensson committed Jun 9, 2024
1 parent 44709a1 commit a7072c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void CodeGen_External_Entity_EFtoPOCO()
TestHelper.AssertGeneratedCodeContains(
generatedCode,
"private EntityRef<global::DataTests.Scenarios.EF.Northwind.PersonalDetails> _personalDetails_MarkedAsExternal;",
"[Association(\"Employee_PersonalDetails\", \"EmployeeID\", \"UniqueID\", IsForeignKey=true)] [ExternalReference()]",
"[EntityAssociation(\"Employee_PersonalDetails\", new string[] { \"EmployeeID\"}, new string[] { \"UniqueID\"}, IsForeignKey=true)] [ExternalReference()]",
"public global::DataTests.Scenarios.EF.Northwind.PersonalDetails PersonalDetails_MarkedAsExternal",
"private bool FilterPersonalDetails_MarkedAsExternal(global::DataTests.Scenarios.EF.Northwind.PersonalDetails entity)");
}
Expand Down

0 comments on commit a7072c0

Please sign in to comment.