Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "kpmg"

hello @yelkalkan, thanks for this hint.

We also discovered that GUID columns must be omitted for filtering because they are always read in the GetAll call by input.guidName.ToString(). It would be nice if the generator UI would provide more documentation about that. Of course we will exclude the GUID / uniqueidentifier columns from filtering DTOs.

When extending tables in the database and trying to regenerate or update existing entities, columns with phrase ID and any type except numeric are skipped by the generator.

Example of table with GUID columns:

[Table(nameof(Company))]
    public partial class Company : AuditedEntity, IMayHaveTenant, ISoftDelete
    {
        public int? TenantId { get; set; }

        public bool IsDeleted { get; set; }

    }

    public partial class Company
    {
        [Column("companyGUID")]
        public Guid CompanyGuid { get; set; }

        [Column("name")]
        [StringLength(255)]
        public string Name { get; set; }

... other columns

        [Column("hierarchicalFatherGUID")]
        public Guid? HierarchicalFatherGuid { get; set; }

        [Column("taxGroupFatherGUID")]
        public Guid? TaxGroupFatherGuid { get; set; }

        [Column("isTaxGroupHead")]
        public bool? IsTaxGroupHead { get; set; }

    }

When opening 'Load Entity From Database' GUID columns are not detected. Hence created entities and services do not inlcude GUID columns and would overwrite valid entities. To avoid this we manually update entities with dotnet ef tool. We work around this by manually editing Company.json in directory \aspnet-core\AspNetZeroRadTool and then regenerate services and views.

Can you fix this soon?

Thanks a lot!

Hi,

For an actual project we want to modify and extend the frontend .html/.ts files which are generated with the help of the VS "Create an Entity"-Plugin.

Unfortunately the Entities will change in the future.

I think the backend should not be a problem, because it generates Micration classes. But in the frontend it just delete the files?

What is the recommended way to avoid loosing modifications, if we want to use the "Re-generate an Entity" for this? Like I have seen it would completely remove all the change which are done in the corresponding files?

I thought about using a git-repository to merge the old changes and the new generated files.. but I think there should be easier/better ways to do it?

Regards

Showing 41 to 43 of 43 entries