ng build --prod
done deleting and install npm still it takes me 10-15 minutes to build
Intel I7 32GB RAM
ng build --prod
13% building 31/40 modules 9 active ...rc\DNEthan.Web.Host\node_modules\famfamfam-flags\dist\sprite\famfamfam-flags.css
thanx
public Task Updateitemno(int parentID, bool isNew) { DNEthanRepositoryExtensions.updateitemno<Estimatecuttinglist, int>(_estimatecuttinglistRepository, parentID, isNew); return Task.CompletedTask; }
public static void updateitemno<TEntity, TPrimaryKey>(this IRepository<TEntity, TPrimaryKey> repository, int parentID , bool isNeworDelete) where TEntity : class, IEntity<TPrimaryKey>, 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.
public async Task Delete(EntityDto input) { int parentID = _estimatecuttinglistRepository.FirstOrDefault(input.Id).parentID;
_estimatecuttinglistRepository.Delete(input.Id); -- records not deleted
await Updateitemno(parentID, true); -- executed
}
I having problem when deleting records after i insert the Updateitemno command.
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
{"The column 'RowNumber' was specified multiple times for 't2'.\r\nThe multi-part identifier "t1.RowNumber" could not be bound.\r\nThe multi-part identifier "t1.RowNumber" could not be bound.\r\nThe column 'RowNumber' was specified multiple times for 't'."}
You have existing fields like Creation , Deletion , Last Modification which is automatically updated I want to add Cancelled Date / Time , Cancelled by