Activities of "EngincanV"

Hi, all new (bought a new license after the 16th of January) customers (owners of the license) can download the ABP Framework book for free from the https://commercial.abp.io/my-organizations/ .

Like https://docs.abp.io/en/abp/latest/UI/AspNetCore/JavaScript-API/Block-Busy is there any option available for angular?

You can use the [abpLoading] directive like as below:

<div class="my-container" [abpLoading]="isLoading">
    lorem ipsum
</div>

For example usage from the framework, please see.

Hi, can you please check the thread of #2913?

Hi, IRepository doesn't inherit from IQueryable anymore. (See related blog post) So you need to obtain IQueryable for your repository to be able to use LINQ methods, the recommended way is using IRepository.GetQueryableAsync() to obtain an IQueryable.

  • So you can change your code as below.
var queryable = await Repository.GetQueryableAsync(); //obtain IQueryable
var query = queryable.Include(r => r.LayerFields).Where(a => a.LayerName.Equals(tempLayerDto.LayerName));

https://docs.abp.io/en/abp/5.3/Repositories#querying-linq-over-the-repositories

NCHAR and NVARCHAR2 use character length semantics. The number of characters for columns with one of these data types depend on the character set, NLS_NCHAR_CHARACTERSET. ODP.NET Entity Framework Core defaults to a 2-byte character set, which allows a maximum of 2000 characters for NCHAR and NVARCHAR2 columns. If a [Maxlength(4000)] data annotation or fluent API equivalent is used for a string entity property, ODP.NET will map the property to an NCLOB type because the specified length is greater than 2000 characters. (https://docs.oracle.com/en/database/oracle/oracle-database/21/odpnt/EFCoreDataTypeMapping.html#GUID-484E9D3A-8E42-417F-9591-F2E7305E3F6A)

According to the description, you either need to add [MaxLength(4000)] data annotation to the property or change the data type to NCLOB.

builder.Entity<AuditLog>(b =>
    {
        b.Property(x => x.Exceptions).HasColumnType("CLOB").HasMaxLength(4000);
    });
    
builder.Entity<AuditLogAction>(b =>
    {
        b.Property(x => x.Parameters).HasColumnType("CLOB").HasMaxLength(4000);
    });

Please create a new question, this is not related to the current question.

Best Regards.

my-second-page

Hi

In my application two roles are present and I want to show this page to admin role only so how can I manage this.

This is a custom logic and not related to ABP. You can write a middleware or use some other approaches.

What was your Oracle version?

Hi, I've just tried it and it works as expected. I've created a new page and simply define its page route top of this page as below.

  • Index.razor
@page "/my-second-page"
@inherits MyProjectComponentBase

This is not landing page.
  • MyLandingPage.razor
@page "/"
@inherits MyProjectComponentBase

My landing page
Answer

Hi, Service Proxies does not support API versioning for Angular right now. There is an open issue about it. You can follow the issue.

Showing 191 to 200 of 456 entries
Made with ❤️ on ABP v9.1.0-rc.1. Updated on January 17, 2025, 14:13