Skip to content

Commit

Permalink
- Updated entity relationship persistence service
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Fyfe committed Jul 23, 2017
1 parent 4b52e17 commit 06755b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Minims/install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "OpenIZ Disconnected Client SDK"
#define MyAppVersion "0.9.6"
#define MyAppVersion "0.9.7.2"
#define MyAppPublisher "Mohawk College of Applied Arts and Technology"
#define MyAppURL "http://openiz.org"

Expand All @@ -22,7 +22,7 @@ DefaultDirName={pf}\Mohawk College\OpenIZ\sdk
DisableProgramGroupPage=yes
LicenseFile=..\License.rtf
OutputDir=.\dist
OutputBaseFilename=setup-openiz-dc-sdk
OutputBaseFilename=openizdc-sdk-{#MyAppVersion}
Compression=lzma
SolidCompression=yes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ protected override EntityRelationship InsertInternal(LocalDataContext context, E
protected override EntityRelationship UpdateInternal(LocalDataContext context, EntityRelationship data)
{
// Ensure we haven't already persisted this
if (data.TargetEntity != null) data.TargetEntity = data.TargetEntity.EnsureExists(context);
//if (data.TargetEntity != null) data.TargetEntity = data.TargetEntity.EnsureExists(context);
data.TargetEntityKey = data.TargetEntity?.Key ?? data.TargetEntityKey;
if (data.RelationshipType != null) data.RelationshipType = data.RelationshipType.EnsureExists(context);
data.RelationshipTypeKey = data.RelationshipType?.Key ?? data.RelationshipTypeKey;
Expand Down

0 comments on commit 06755b5

Please sign in to comment.