@hikalkan: I installed the lastest .net core but I still cannot generate CRUD page @alper: Yes maybe I created the solution using abp suite and then change the directory, then I added the existing solution using Suite. How can I handle this ?
I also try to create a new solution without editing anything. And then generate CRUD page but It still shows the same Error above
It's weird. I've tried many times logout and login then update again but it didn't work. How can I delete completely ?
Thanks. I can update abp suite after remove completely cli and suite
Hi alper,
My project name: FPT.DDC.BackendService
UI framework: Angular, Tiered, separated Identitty server DB: EF Core
I have many Entities
A sample of entity
{ "Id": "416c6275-6d00-0000-0000-000000000000", "Name": "Album", "OriginalName": "Album", "NamePlural": "Albums", "DatabaseTableName": "Albums", "Namespace": "DMS.Albums", "BaseClass": "FullAuditedEntity", "PrimaryKeyType": "Guid", "IsMultiTenant": true, "ShouldCreateUserInterface": true, "ShouldAddMigration": false, "ShouldUpdateDatabase": false, "Properties": [ { "Id": "416c6275-6d41-6c62-756d-436f64650000", "Name": "AlbumCode", "Type": "string", "IsNullable": true, "IsRequired": true, "MinLength": 0, "MaxLength": 40, "SortOrder": 0, "SortType": 0 }, { "Id": "416c6275-6d41-6c62-756d-4e616d650000", "Name": "AlbumName", "Type": "string", "IsNullable": true, "IsRequired": true, "MinLength": 0, "MaxLength": 100, "SortOrder": 0, "SortType": 0 }, { "Id": "fce92864-0cd9-bc50-dc84-2d9a004fa496", "Name": "ApplyForCode", "Type": "string", "IsNullable": true, "IsRequired": true, "MinLength": 0, "MaxLength": 40, "SortOrder": 0, "SortType": 0 }, { "Id": "416c6275-6d53-7061-6365-000000000000", "Name": "Space", "Type": "string", "IsNullable": true, "IsRequired": false, "MinLength": 0, "MaxLength": 40, "SortOrder": 0, "SortType": 0 }, { "Id": "416c6275-6d46-726f-6d44-617465000000", "Name": "FromDate", "Type": "DateTime", "IsNullable": true, "IsRequired": true, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0 }, { "Id": "416c6275-6d54-6f44-6174-650000000000", "Name": "ToDate", "Type": "DateTime", "IsNullable": true, "IsRequired": true, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0 }, { "Id": "416c6275-6d41-6c62-756d-547970650000", "Name": "AlbumType", "Type": "string", "IsNullable": true, "IsRequired": true, "MinLength": 0, "MaxLength": 40, "SortOrder": 0, "SortType": 0 }, { "Id": "416c6275-6d53-7461-7475-730000000000", "Name": "Status", "Type": "string", "IsNullable": true, "IsRequired": true, "MinLength": 0, "MaxLength": 1, "SortOrder": 0, "SortType": 0 }, { "Id": "f8b494d2-48e0-8c1c-3a2f-05c8b51a7c4e", "Name": "Description", "Type": "string", "IsNullable": true, "IsRequired": false, "MinLength": 0, "MaxLength": 1000, "SortOrder": 0, "SortType": 0 } ], "PhysicalFileName": "Album.json" }
Hi @alper,
Can you share the template's name and content Abp Suite using to generate model ?
Thanks for your support!
Hi @alper,
Now I can generate the DbSet for each models. But when I run "SaveAndGenerate" I got a new issue "message": "Error occurred on DB migration step! Make sure the project is not working. Command output: Build started...\r\nBuild failed.\r\n",
I thinks the unit test caused this problem because of there is no Id in the constructor of model. Please provide hotfix soon
This is my Book.json, it still has Id field
{ "Id": "eb6b50df-1049-4a82-bd74-18d97d81d20c", "Name": "Book", "OriginalName": "Book", "NamePlural": "Books", "DatabaseTableName": "Books", "Namespace": "Books", "BaseClass": "FullAuditedEntity", "PrimaryKeyType": "Guid", "IsMultiTenant": true, "ShouldCreateUserInterface": true, "ShouldAddMigration": true, "ShouldUpdateDatabase": true, "CreateTests": true, "Properties": [ { "Id": "2de78020-a59d-45ce-b50d-567304461e57", "Name": "BookCode", "Type": "string", "IsNullable": false, "IsRequired": true, "MinLength": null, "MaxLength": 40, "SortOrder": 0, "SortType": 0, "Regex": null, "EmailValidation": false }, { "Id": "837e5bda-fbaf-4a05-83c6-3ca9c00ebf31", "Name": "BookName", "Type": "string", "IsNullable": false, "IsRequired": false, "MinLength": null, "MaxLength": 255, "SortOrder": 0, "SortType": 0, "Regex": null, "EmailValidation": false }, { "Id": "f42138a5-f16c-4398-b658-8a88760afb0c", "Name": "BookNumber", "Type": "int", "IsNullable": false, "IsRequired": false, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false }, { "Id": "ac052a38-c9bf-4dca-8e70-67255bcc09da", "Name": "BookPrice", "Type": "float", "IsNullable": false, "IsRequired": false, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false }, { "Id": "0d438639-60f3-4aee-9e21-f4a1e5ee85e4", "Name": "BookExprireDate", "Type": "DateTime", "IsNullable": false, "IsRequired": true, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false } ], "NavigationProperties": null, "PhysicalFileName": "Book.json" }
Hi liangshiwei,
Does It reset the incident count limit monthly ?
And do you separate the incident and the question because maybe there will be something wrong in document or new version release we want just ask ?
Regards,