Dear Alper ok, you're right. but if i check the Required checkbox of the navigation property. thats the problem. please check it again. also by regenerating the entity, the menu property fields are duplicated by generator. thansk a lot
Country.json :
{ "Id": "64402358-9115-4f83-9726-6d26ea3132c3", "Name": "Country", "OriginalName": "Country", "NamePlural": "Countries", "DatabaseTableName": "Countries", "Namespace": "Countries", "BaseClass": "FullAuditedAggregateRoot", "PrimaryKeyType": "int", "IsMultiTenant": false, "ShouldCreateUserInterface": true, "ShouldCreateBackend": true, "ShouldAddMigration": true, "ShouldUpdateDatabase": true, "CreateTests": true, "Properties": [ { "Id": "065ce185-6c51-4499-8881-701ac22d1878", "Name": "CountryName", "Type": "string", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "IsNullable": false, "IsRequired": true, "MinLength": 3, "MaxLength": 100, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "EnumValues": null } ], "NavigationProperties": [], "PhysicalFileName": "Country.json" }
Province.Json:
{ "Id": "6361bc83-6206-4a26-b06a-f49e17c5a98a", "Name": "Province", "OriginalName": "Province", "NamePlural": "Provinces", "DatabaseTableName": "Provinces", "Namespace": "Provinces", "BaseClass": "FullAuditedAggregateRoot", "PrimaryKeyType": "int", "IsMultiTenant": false, "ShouldCreateUserInterface": true, "ShouldCreateBackend": true, "ShouldAddMigration": true, "ShouldUpdateDatabase": true, "CreateTests": true, "Properties": [ { "Id": "7b2fb170-d133-4bb1-8d4b-6c042739d524", "Name": "ProvinceName", "Type": "string", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "IsNullable": false, "IsRequired": true, "MinLength": 3, "MaxLength": 100, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "EnumValues": null } ], "NavigationProperties": [ { "Namespace": "MVC1.Countries", "EntityName": "Country", "EntityNameWithDuplicationNumber": "Country", "EntitySetNameWithDuplicationNumber": "Countries", "EntitySetName": "Countries", "DtoNamespace": "MVC1.Countries", "DtoEntityName": "CountryDto", "Type": "int", "Name": "CountryId", "ReferencePropertyName": "Country", "DisplayProperty": "CountryName", "UiPickType": "Dropdown", "IsRequired": true } ], "PhysicalFileName": "Province.json" }