Activities of "thanhvl1"

Hi,

I just want to ask how can I generate mongoDb entity with type is "Collection" in Abp Suite or if abp Suite UI is currently not supported, how do I change the files entities.json for generating ?

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 @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

Hi @alper,

Now I can see the outdated template, but how can I compare the difference, do you have any plan to develope the function check diff. Because I customize many template and when I get the outdated one, I have to revert and then compare again

Thanks

Hi @alper,

Can you share the template's name and content Abp Suite using to generate model ?

Thanks for your support!

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,

I'm facing a problem that I cannot generate modelbuilder using abp suite v2.3.0. It only generate namespace of model but not anything at all

Hi,

When I modify Abp Suite template I can see what templates is customzied. But if you upgrage abp and update template, how can I combine your updated template and my customized template ?

Thanks. I can update abp suite after remove completely cli and suite

It's weird. I've tried many times logout and login then update again but it didn't work. How can I delete completely ?

Showing 41 to 50 of 54 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 18, 2025, 07:10