Skip to content

Commit 063d954

Browse files
authored
v5.16.2 (#263)
- *Fixed:* `Operation.AuthEntity` and `Operation.AuthOperation` updated to code-gen the `Manager`-based authorization (`ExecutionContent.UserIsAuthorized`) invocation. - *Fixed:* Code-generation logging/auditing of endpoints updated to also include the authorization configuration. - *Fixed:* `CreateProperty` statement within generated entity updated to use the correct name for reference data properties.
1 parent 65af953 commit 063d954

File tree

60 files changed

+223
-113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+223
-113
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Represents the **NuGet** versions.
44

5+
## v5.16.2
6+
- *Fixed:* `Operation.AuthEntity` and `Operation.AuthOperation` updated to code-gen the `Manager`-based authorization (`ExecutionContent.UserIsAuthorized`) invocation.
7+
- *Fixed:* Code-generation logging/auditing of endpoints updated to also include the authorization configuration.
8+
- *Fixed:* `CreateProperty` statement within generated entity updated to use the correct name for reference data properties.
9+
510
## v5.16.1
611
- *Fixed:* Upgraded dependencies related to `System.Text.Json`; resolve [Microsoft Security Advisory CVE-2024-43485](https://github.com/advisories/GHSA-8g4q-xg66-9fp4).
712

Common.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>5.16.1</Version>
3+
<Version>5.16.2</Version>
44
<LangVersion>preview</LangVersion>
55
<Authors>Avanade</Authors>
66
<Company>Avanade</Company>

docs/Entity-Entity-Config.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ Provides the _Authorization_ configuration.
138138

139139
Property | Description
140140
-|-
141-
**`authRole`** | The role (permission) used by the `ExecutionContext.IsInRole(role)` for each `Operation`.<br/>&dagger; Used where not overridden specifically for an `Operation`; i.e. acts as the default.
141+
`authPermission` | The permission used by the `ExecutionContext.UserIsAuthorized(AuthPermission)` to determine whether the user is authorized.
142+
`authEntity` | The permission used by the `ExecutionContext.UserIsAuthorized(AuthEntity, AuthAction)` to determine whether the user is authorized.
143+
**`authRole`** | The role (permission) used by the `ExecutionContext.UserIsInRole(role)` for each `Operation`.<br/>&dagger; Used where not overridden specifically for an `Operation`; i.e. acts as the default.
142144

143145
<br/>
144146

docs/Entity-Operation-Config.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,10 @@ Provides the _Authorization_ configuration.
8484

8585
Property | Description
8686
-|-
87-
`authPermission` | The permission used by the `ExecutionContext.IsAuthorized(AuthPermission)` to determine whether the user is authorized.
88-
`authRole` | The permission used by the `ExecutionContext.IsInRole(AuthRole)` to determine whether the user is authorized.
87+
`authPermission` | The permission used by the `ExecutionContext.UserIsAuthorized(AuthPermission)` to determine whether the user is authorized.
88+
`authEntity` | The permission used by the `ExecutionContext.UserIsAuthorized(AuthEntity, AuthAction)` to determine whether the user is authorized. Defaults to `Entity.AuthEntity`. Both the `AuthEntity` and `AuthAction` are required for code-generation.
89+
`authAction` | The permission used by the `ExecutionContext.UserIsAuthorized(AuthEntity, AuthAction)` to determine whether the user is authorized. Both the `AuthEntity` and `AuthAction` are required for code-generation.
90+
`authRole` | The permission used by the `ExecutionContext.UserIsInRole(AuthRole)` to determine whether the user is authorized.
8991

9092
<br/>
9193

samples/Cdr.Banking/Cdr.Banking.Api/Cdr.Banking.Api.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<ImplicitUsings>true</ImplicitUsings>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="CoreEx.AspNetCore" Version="3.27.0" />
9-
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.8.1" />
8+
<PackageReference Include="CoreEx.AspNetCore" Version="3.27.1" />
9+
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.9.0" />
1010
</ItemGroup>
1111
<ItemGroup>
1212
<ProjectReference Include="..\Cdr.Banking.Business\Cdr.Banking.Business.csproj" />

samples/Cdr.Banking/Cdr.Banking.Business/Cdr.Banking.Business.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<Folder Include="DataSvc\" />
1313
</ItemGroup>
1414
<ItemGroup>
15-
<PackageReference Include="CoreEx.AspNetCore" Version="3.27.0" />
16-
<PackageReference Include="CoreEx.Cosmos" Version="3.27.0" />
17-
<PackageReference Include="CoreEx.Validation" Version="3.27.0" />
15+
<PackageReference Include="CoreEx.AspNetCore" Version="3.27.1" />
16+
<PackageReference Include="CoreEx.Cosmos" Version="3.27.1" />
17+
<PackageReference Include="CoreEx.Validation" Version="3.27.1" />
1818
</ItemGroup>
1919
</Project>

samples/Cdr.Banking/Cdr.Banking.Business/Entities/Generated/Account.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
8888
yield return CreateProperty(nameof(CreationDate), CreationDate, v => CreationDate = v);
8989
yield return CreateProperty(nameof(DisplayName), DisplayName, v => DisplayName = v);
9090
yield return CreateProperty(nameof(Nickname), Nickname, v => Nickname = v);
91-
yield return CreateProperty(nameof(OpenStatusSid), OpenStatusSid, v => OpenStatusSid = v);
91+
yield return CreateProperty(nameof(OpenStatus), OpenStatusSid, v => OpenStatusSid = v);
9292
yield return CreateProperty(nameof(IsOwned), IsOwned, v => IsOwned = v);
9393
yield return CreateProperty(nameof(MaskedNumber), MaskedNumber, v => MaskedNumber = v);
94-
yield return CreateProperty(nameof(ProductCategorySid), ProductCategorySid, v => ProductCategorySid = v);
94+
yield return CreateProperty(nameof(ProductCategory), ProductCategorySid, v => ProductCategorySid = v);
9595
yield return CreateProperty(nameof(ProductName), ProductName, v => ProductName = v);
9696
}
9797
}

samples/Cdr.Banking/Cdr.Banking.Business/Entities/Generated/AccountArgs.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public partial class AccountArgs : EntityBase
4848
/// <inheritdoc/>
4949
protected override IEnumerable<IPropertyValue> GetPropertyValues()
5050
{
51-
yield return CreateProperty(nameof(ProductCategorySid), ProductCategorySid, v => ProductCategorySid = v);
52-
yield return CreateProperty(nameof(OpenStatusSid), OpenStatusSid, v => OpenStatusSid = v);
51+
yield return CreateProperty(nameof(ProductCategory), ProductCategorySid, v => ProductCategorySid = v);
52+
yield return CreateProperty(nameof(OpenStatus), OpenStatusSid, v => OpenStatusSid = v);
5353
yield return CreateProperty(nameof(IsOwned), IsOwned, v => IsOwned = v);
5454
}
5555
}

samples/Cdr.Banking/Cdr.Banking.Business/Entities/Generated/AccountDetail.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
6363
yield return CreateProperty(nameof(Bsb), Bsb, v => Bsb = v);
6464
yield return CreateProperty(nameof(AccountNumber), AccountNumber, v => AccountNumber = v);
6565
yield return CreateProperty(nameof(BundleName), BundleName, v => BundleName = v);
66-
yield return CreateProperty(nameof(SpecificAccountUTypeSid), SpecificAccountUTypeSid, v => SpecificAccountUTypeSid = v);
66+
yield return CreateProperty(nameof(SpecificAccountUType), SpecificAccountUTypeSid, v => SpecificAccountUTypeSid = v);
6767
yield return CreateProperty(nameof(TermDeposit), TermDeposit, v => TermDeposit = v);
6868
yield return CreateProperty(nameof(CreditCard), CreditCard, v => CreditCard = v);
6969
}

samples/Cdr.Banking/Cdr.Banking.Business/Entities/Generated/TermDepositAccount.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
5555
yield return CreateProperty(nameof(MaturityDate), MaturityDate, v => MaturityDate = v);
5656
yield return CreateProperty(nameof(MaturityAmount), MaturityAmount, v => MaturityAmount = v);
5757
yield return CreateProperty(nameof(MaturityCurrency), MaturityCurrency, v => MaturityCurrency = v);
58-
yield return CreateProperty(nameof(MaturityInstructionsSid), MaturityInstructionsSid, v => MaturityInstructionsSid = v);
58+
yield return CreateProperty(nameof(MaturityInstructions), MaturityInstructionsSid, v => MaturityInstructionsSid = v);
5959
}
6060
}

samples/Cdr.Banking/Cdr.Banking.Business/Entities/Generated/Transaction.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
129129
yield return CreateProperty(nameof(Id), Id, v => Id = v);
130130
yield return CreateProperty(nameof(AccountId), AccountId, v => AccountId = v);
131131
yield return CreateProperty(nameof(IsDetailAvailable), IsDetailAvailable, v => IsDetailAvailable = v);
132-
yield return CreateProperty(nameof(TypeSid), TypeSid, v => TypeSid = v);
133-
yield return CreateProperty(nameof(StatusSid), StatusSid, v => StatusSid = v);
132+
yield return CreateProperty(nameof(Type), TypeSid, v => TypeSid = v);
133+
yield return CreateProperty(nameof(Status), StatusSid, v => StatusSid = v);
134134
yield return CreateProperty(nameof(Description), Description, v => Description = v);
135135
yield return CreateProperty(nameof(PostingDateTime), PostingDateTime, v => PostingDateTime = v);
136136
yield return CreateProperty(nameof(ExecutionDateTime), ExecutionDateTime, v => ExecutionDateTime = v);

samples/Cdr.Banking/Cdr.Banking.Common/Cdr.Banking.Common.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
<Folder Include="Entities\" />
99
</ItemGroup>
1010
<ItemGroup>
11-
<PackageReference Include="CoreEx" Version="3.27.0" />
11+
<PackageReference Include="CoreEx" Version="3.27.1" />
1212
</ItemGroup>
1313
</Project>

samples/Cdr.Banking/Cdr.Banking.Test/Cdr.Banking.Test.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4040
</PackageReference>
4141
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
42-
<PackageReference Include="CoreEx.UnitTesting.NUnit" Version="3.27.0" />
42+
<PackageReference Include="CoreEx.UnitTesting.NUnit" Version="3.27.1" />
4343
</ItemGroup>
4444

4545
<ItemGroup>

samples/Demo/Beef.Demo.Api/Beef.Demo.Api.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="CoreEx.AspNetCore" Version="3.27.0" />
16-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.8.1" />
17-
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="6.8.1" />
15+
<PackageReference Include="CoreEx.AspNetCore" Version="3.27.1" />
16+
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.9.0" />
17+
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="6.9.0" />
1818
</ItemGroup>
1919

2020
<ItemGroup>

samples/Demo/Beef.Demo.Business/Beef.Demo.Business.csproj

+8-8
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
</ItemGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="CoreEx" Version="3.27.0" />
20-
<PackageReference Include="CoreEx.AspNetCore" Version="3.27.0" />
21-
<PackageReference Include="CoreEx.Cosmos" Version="3.27.0" />
22-
<PackageReference Include="CoreEx.Database" Version="3.27.0" />
23-
<PackageReference Include="CoreEx.Database.SqlServer" Version="3.27.0" />
24-
<PackageReference Include="CoreEx.EntityFrameworkCore" Version="3.27.0" />
25-
<PackageReference Include="CoreEx.Validation" Version="3.27.0" />
26-
<PackageReference Include="CoreEx.FluentValidation" Version="3.27.0" />
19+
<PackageReference Include="CoreEx" Version="3.27.1" />
20+
<PackageReference Include="CoreEx.AspNetCore" Version="3.27.1" />
21+
<PackageReference Include="CoreEx.Cosmos" Version="3.27.1" />
22+
<PackageReference Include="CoreEx.Database" Version="3.27.1" />
23+
<PackageReference Include="CoreEx.Database.SqlServer" Version="3.27.1" />
24+
<PackageReference Include="CoreEx.EntityFrameworkCore" Version="3.27.1" />
25+
<PackageReference Include="CoreEx.Validation" Version="3.27.1" />
26+
<PackageReference Include="CoreEx.FluentValidation" Version="3.27.1" />
2727
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.20" />
2828
</ItemGroup>
2929

samples/Demo/Beef.Demo.Business/Entities/Generated/Contact.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
6969
yield return CreateProperty(nameof(Id), Id, v => Id = v);
7070
yield return CreateProperty(nameof(FirstName), FirstName, v => FirstName = v);
7171
yield return CreateProperty(nameof(LastName), LastName, v => LastName = v);
72-
yield return CreateProperty(nameof(StatusSid), StatusSid, v => StatusSid = v);
72+
yield return CreateProperty(nameof(Status), StatusSid, v => StatusSid = v);
7373
yield return CreateProperty(nameof(InternalCode), InternalCode, v => InternalCode = v);
7474
yield return CreateProperty(nameof(Communications), Communications, v => Communications = v);
7575
}

samples/Demo/Beef.Demo.Business/Entities/Generated/Gender.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
6161

6262
yield return CreateProperty(nameof(AlternateName), AlternateName, v => AlternateName = v);
6363
yield return CreateProperty(nameof(TripCode), TripCode, v => TripCode = v);
64-
yield return CreateProperty(nameof(CountrySid), CountrySid, v => CountrySid = v);
64+
yield return CreateProperty(nameof(Country), CountrySid, v => CountrySid = v);
6565
}
6666

6767
/// <summary>

samples/Demo/Beef.Demo.Business/Entities/Generated/Person.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
127127
yield return CreateProperty(nameof(FirstName), FirstName, v => FirstName = v);
128128
yield return CreateProperty(nameof(LastName), LastName, v => LastName = v);
129129
yield return CreateProperty(nameof(UniqueCode), UniqueCode, v => UniqueCode = v);
130-
yield return CreateProperty(nameof(GenderSid), GenderSid, v => GenderSid = v);
131-
yield return CreateProperty(nameof(EyeColorSid), EyeColorSid, v => EyeColorSid = v);
130+
yield return CreateProperty(nameof(Gender), GenderSid, v => GenderSid = v);
131+
yield return CreateProperty(nameof(EyeColor), EyeColorSid, v => EyeColorSid = v);
132132
yield return CreateProperty(nameof(Birthday), Birthday, v => Birthday = v);
133133
yield return CreateProperty(nameof(Address), Address, v => Address = v);
134134
yield return CreateProperty(nameof(ETag), ETag, v => ETag = v);

samples/Demo/Beef.Demo.Business/Entities/Generated/PersonArgs.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
6464
{
6565
yield return CreateProperty(nameof(FirstName), FirstName, v => FirstName = v);
6666
yield return CreateProperty(nameof(LastName), LastName, v => LastName = v);
67-
yield return CreateProperty(nameof(GendersSids), GendersSids, v => GendersSids = v);
67+
yield return CreateProperty(nameof(Genders), GendersSids, v => GendersSids = v);
6868
yield return CreateProperty(nameof(OrderBy), OrderBy, v => OrderBy = v);
6969
}
7070
}

samples/Demo/Beef.Demo.Business/Entities/Generated/PostalInfo.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public partial class PostalInfo : EntityBase, IETag
6060
/// <inheritdoc/>
6161
protected override IEnumerable<IPropertyValue> GetPropertyValues()
6262
{
63-
yield return CreateProperty(nameof(CountrySid), CountrySid, v => CountrySid = v);
63+
yield return CreateProperty(nameof(Country), CountrySid, v => CountrySid = v);
6464
yield return CreateProperty(nameof(City), City, v => City = v);
6565
yield return CreateProperty(nameof(State), State, v => State = v);
6666
yield return CreateProperty(nameof(Places), Places, v => Places = v);

samples/Demo/Beef.Demo.Business/Entities/Generated/RefDataPrimaryKey.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public partial class RefDataPrimaryKey : EntityBase, IPrimaryKey
5454
/// <inheritdoc/>
5555
protected override IEnumerable<IPropertyValue> GetPropertyValues()
5656
{
57-
yield return CreateProperty(nameof(Key1Sid), Key1Sid, v => Key1Sid = v);
57+
yield return CreateProperty(nameof(Key1), Key1Sid, v => Key1Sid = v);
5858
yield return CreateProperty(nameof(Other), Other, v => Other = v);
5959
}
6060
}

samples/Demo/Beef.Demo.Business/Entities/Generated/Robot.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
8888
yield return CreateProperty(nameof(Id), Id, v => Id = v);
8989
yield return CreateProperty(nameof(ModelNo), ModelNo, v => ModelNo = v);
9090
yield return CreateProperty(nameof(SerialNo), SerialNo, v => SerialNo = v);
91-
yield return CreateProperty(nameof(EyeColorSid), EyeColorSid, v => EyeColorSid = v);
92-
yield return CreateProperty(nameof(PowerSourceSid), PowerSourceSid, v => PowerSourceSid = v);
91+
yield return CreateProperty(nameof(EyeColor), EyeColorSid, v => EyeColorSid = v);
92+
yield return CreateProperty(nameof(PowerSource), PowerSourceSid, v => PowerSourceSid = v);
9393
yield return CreateProperty(nameof(ETag), ETag, v => ETag = v);
9494
yield return CreateProperty(nameof(ChangeLog), ChangeLog, v => ChangeLog = v);
9595
}

samples/Demo/Beef.Demo.Business/Entities/Generated/RobotArgs.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
4646
{
4747
yield return CreateProperty(nameof(ModelNo), ModelNo, v => ModelNo = v);
4848
yield return CreateProperty(nameof(SerialNo), SerialNo, v => SerialNo = v);
49-
yield return CreateProperty(nameof(PowerSourcesSids), PowerSourcesSids, v => PowerSourcesSids = v);
49+
yield return CreateProperty(nameof(PowerSources), PowerSourcesSids, v => PowerSourcesSids = v);
5050
}
5151
}
5252

samples/Demo/Beef.Demo.Common/Beef.Demo.Common.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<Folder Include="Agents\" />
88
</ItemGroup>
99
<ItemGroup>
10-
<PackageReference Include="CoreEx" Version="3.27.0" />
11-
<PackageReference Include="Grpc.Tools" Version="2.66.0">
10+
<PackageReference Include="CoreEx" Version="3.27.1" />
11+
<PackageReference Include="Grpc.Tools" Version="2.67.0">
1212
<PrivateAssets>all</PrivateAssets>
1313
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1414
</PackageReference>

samples/Demo/Beef.Demo.Test/Beef.Demo.Test.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
</ItemGroup>
5353

5454
<ItemGroup>
55-
<PackageReference Include="CoreEx.UnitTesting" Version="3.27.0" />
55+
<PackageReference Include="CoreEx.UnitTesting" Version="3.27.1" />
5656
<PackageReference Include="NUnit.Analyzers" Version="4.3.0">
5757
<PrivateAssets>all</PrivateAssets>
5858
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

samples/My.Hr/My.Hr.Api/My.Hr.Api.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<ImplicitUsings>true</ImplicitUsings>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="CoreEx.AspNetCore" Version="3.27.0" />
9-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.8.1" />
10-
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="6.8.1" />
8+
<PackageReference Include="CoreEx.AspNetCore" Version="3.27.1" />
9+
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.9.0" />
10+
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="6.9.0" />
1111
</ItemGroup>
1212
<ItemGroup>
1313
<ProjectReference Include="..\My.Hr.Business\My.Hr.Business.csproj" />

samples/My.Hr/My.Hr.Business/Entities/Generated/Address.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
5959
yield return CreateProperty(nameof(Street1), Street1, v => Street1 = v);
6060
yield return CreateProperty(nameof(Street2), Street2, v => Street2 = v);
6161
yield return CreateProperty(nameof(City), City, v => City = v);
62-
yield return CreateProperty(nameof(StateSid), StateSid, v => StateSid = v);
62+
yield return CreateProperty(nameof(State), StateSid, v => StateSid = v);
6363
yield return CreateProperty(nameof(PostCode), PostCode, v => PostCode = v);
6464
}
6565
}

samples/My.Hr/My.Hr.Business/Entities/Generated/EmergencyContact.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
6060
yield return CreateProperty(nameof(FirstName), FirstName, v => FirstName = v);
6161
yield return CreateProperty(nameof(LastName), LastName, v => LastName = v);
6262
yield return CreateProperty(nameof(PhoneNo), PhoneNo, v => PhoneNo = v);
63-
yield return CreateProperty(nameof(RelationshipSid), RelationshipSid, v => RelationshipSid = v);
63+
yield return CreateProperty(nameof(Relationship), RelationshipSid, v => RelationshipSid = v);
6464
}
6565
}
6666

samples/My.Hr/My.Hr.Business/Entities/Generated/EmployeeArgs.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
6060
{
6161
yield return CreateProperty(nameof(FirstName), FirstName, v => FirstName = v);
6262
yield return CreateProperty(nameof(LastName), LastName, v => LastName = v);
63-
yield return CreateProperty(nameof(GendersSids), GendersSids, v => GendersSids = v);
63+
yield return CreateProperty(nameof(Genders), GendersSids, v => GendersSids = v);
6464
yield return CreateProperty(nameof(StartFrom), StartFrom, v => StartFrom = v);
6565
yield return CreateProperty(nameof(StartTo), StartTo, v => StartTo = v);
6666
yield return CreateProperty(nameof(IsIncludeTerminated), IsIncludeTerminated, v => IsIncludeTerminated = v);

samples/My.Hr/My.Hr.Business/Entities/Generated/EmployeeBase.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ protected override IEnumerable<IPropertyValue> GetPropertyValues()
8484
yield return CreateProperty(nameof(Email), Email, v => Email = v);
8585
yield return CreateProperty(nameof(FirstName), FirstName, v => FirstName = v);
8686
yield return CreateProperty(nameof(LastName), LastName, v => LastName = v);
87-
yield return CreateProperty(nameof(GenderSid), GenderSid, v => GenderSid = v);
87+
yield return CreateProperty(nameof(Gender), GenderSid, v => GenderSid = v);
8888
yield return CreateProperty(nameof(Birthday), Birthday, v => Birthday = v);
8989
yield return CreateProperty(nameof(StartDate), StartDate, v => StartDate = v);
9090
yield return CreateProperty(nameof(Termination), Termination, v => Termination = v);

0 commit comments

Comments
 (0)