Skip to content

Commit

Permalink
Merge branch 'feature/sharedtable' into release/v6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
petero-dk committed Nov 27, 2023
2 parents 057e094 + 1a66694 commit 9177fcd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ internal static class TableEntityDynamic
IEnumerable<PropertyInfo> objectProperties = modelType.GetTypeInfo().GetProperties();

// it is not required and preferred NOT to have the type field in the model as we can ensure equality
builder.AddProperty(entityMapper.TypeField, modelType.AssemblyQualifiedName);
if (!string.IsNullOrEmpty(entityMapper.TypeField))
builder.AddProperty(entityMapper.TypeField, modelType.AssemblyQualifiedName);

// visit all properties
foreach (PropertyInfo property in objectProperties)
Expand Down

0 comments on commit 9177fcd

Please sign in to comment.