Skip to content

Commit 216d3d6

Browse files
committed
update
1 parent 65c6983 commit 216d3d6

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

demos/relations/RelationsDemo.lpr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function TPerson.GetProfile: TProfile;
146146
begin
147147
PersonOpf := TPersonOpf.Create(GetConnection, 'person');
148148
try
149-
RelatedObject := PersonOpf.GetRelatedObject(PersonOpf.Entity, 'Profile') as TProfile;
149+
RelatedObject := PersonOpf.GetRelatedObject(Self, 'Profile') as TProfile;
150150
Result := specialize TdGRelatedObjectHelper<TProfile>.SafeCast(RelatedObject);
151151
finally
152152
PersonOpf.Free;

packages/dopfrt.lpk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
<OtherUnitFiles Value="..\core;..\brokers"/>
1414
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
1515
</SearchPaths>
16+
<Other>
17+
<CompilerMessages>
18+
<IgnoredMessages idx6058="True" idx3124="True" idx3123="True"/>
19+
</CompilerMessages>
20+
</Other>
1621
</CompilerOptions>
1722
<Description Value="Object Persistence Framework"/>
1823
<License Value="See the file LICENSE, included in this distribution, for details about the copyright."/>

tests/gui.lpi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
</Target>
2222
<SearchPaths>
2323
<IncludeFiles Value="$(ProjOutDir)"/>
24-
<OtherUnitFiles Value="..\core"/>
2524
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
2625
</SearchPaths>
2726
<Parsing>
@@ -52,7 +51,7 @@
5251
</Linking>
5352
<Other>
5453
<CompilerMessages>
55-
<IgnoredMessages idx6058="True"/>
54+
<IgnoredMessages idx6058="True" idx3124="True" idx3123="True"/>
5655
</CompilerMessages>
5756
</Other>
5857
</CompilerOptions>

0 commit comments

Comments
 (0)