3 Answer(s)
-
0
Hi @lschelvan
Could you share which version of Power Tools do you use ? If it is the latest version, could you share the generated JSON files ?
-
0
Here is one example.
I am also trying to use this child entity for Master-Detail, but I am unable to generate Master-Detail entities. (See https://support.aspnetzero.com/QA/Questions/11379/Power-Tools-Master---Detail-problems )
I am using Power Tools 3.2.4 but had the same problems with 3.2.3. I have reinstalled Power Tools several times. I am very frustrated because Power Tools was the main reason I purchased the AspNetZero license, but so far I have been unable to make progress on this project.
{ "IsRegenerate": true, "MenuPosition": "main", "RelativeNamespace": "Items", "EntityName": "ItemSubcategory", "EntityNamePlural": "ItemSubcategories", "TableName": "ItemSubcategories", "PrimaryKeyType": "long", "BaseClass": "Entity", "EntityHistory": false, "AutoMigration": false, "UpdateDatabase": false, "CreateUserInterface": true, "CreateViewOnly": true, "CreateExcelExport": true, "IsNonModalCRUDPage": true, "IsMasterDetailPage": false, "PagePermission": { "Host": true, "Tenant": true }, "Properties": [ { "Name": "Subcategory", "Type": "string", "MaxLength": 50, "MinLength": 0, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": true, "Nullable": false, "Regex": "", "UserInterface": { "AdvancedFilter": true, "List": true, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} } ], "NavigationProperties": [{ "Namespace": "WMSPlatform.Items", "ForeignEntityName": "ItemCategory", "IdType": "long", "IsNullable": false, "PropertyName": "ItemCategoryId", "DisplayPropertyName": "Category", "DuplicationNumber": 0, "RelationType": "single", "ViewType": "LookupTable", "IsGeneratedByMasterPage": true },], "NavigationPropertyOneToManyTables": [], "EnumDefinitions": [], "DbContext": null }
-
0
Hi @lschelvan
We will release the fix for this problem in a few days. You can manually fix the generated code until then.