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
.
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.
@page "/my-second-page"
@inherits MyProjectComponentBase
This is not landing page.
@page "/"
@inherits MyProjectComponentBase
My landing page
Hi, Service Proxies does not support API versioning for Angular right now. There is an open issue about it. You can follow the issue.
Actually, this kind of migration generation is normal if you go with the Table Splitting approach, because in this approach basically, you create a subset of an entity by mapping it with another entity.
As a second option, Can you please check the "The AppUser Entity & Custom Properties " section of this article.
Hi, sorry for the late response. I've just tried and encountered an error as you mentioned. I'll create an internal issue for it. Thanks for reporting. Btw, your credit has been refunded.