Base solution for your next web application

Activities of "troyfernando"

public Task Updateitemno(int parentID, bool isNew) { DNEthanRepositoryExtensions.updateitemno<Estimatecuttinglist, int>(_estimatecuttinglistRepository, parentID, isNew); return Task.CompletedTask; }

    public static void updateitemno&lt;TEntity, TPrimaryKey&gt;(this IRepository&lt;TEntity, TPrimaryKey&gt; repository, int parentID , bool isNeworDelete) where TEntity : class, IEntity&lt;TPrimaryKey&gt;, IMayHaveItemno
    {
        if (!isNeworDelete)
            return;
        var item = from db in repository.GetAll()
                   where db.parentID == parentID
                   orderby db.itemno 
                   select db;
        int itemno = 1;
        foreach (var row in item)
        {
            row.itemno = itemno;
            repository.Update(row);
            itemno++;
        }
    }

No errors found. it seems updateitemno method is affecting the delete command. it works when i remove updateitemno method.

try { var result = new PagedResultDto<GetProductProfileForViewDto>( totalCount, await productProfiles.ToListAsync() ); return result; } catch (Exception err) {

                // error  here ..... 

        }
        
        
        

019-10-24 ASP.NET CORE & Angular .NET Core 2.2 v7.2.3

No , I only use paginator from prime ng after searching i found this solution

this.paginator.first = this.paginator.paginatorState.rows * (this.paginator.paginatorState.pageCount-1);

ok thanks

HI, this is my ANZ version / framework ASP.NET CORE & Angular (single solution) .NET Core 2.2 v7.2.3

my sample for order details is a shopping cart with many item that i want to empty or delete using if any single delete command, without looping each record for deletion

my solution is to change theme .

Product Version v7.2.3 Angular .NET Core 2.2 Live Demo is ok . Just in my project

when I resize my browser it is ok

just found the solution .. just added these in tsconfig.json "include": [ "../src/**/*" ],

Showing 21 to 30 of 32 entries