var estimateSubPortions = from o in pagedAndFilteredEstimateSubPortions
select new GetEstimateSubPortionForViewDto()
{
EstimateSubPortion = new EstimateSubPortionDto
{
EstimateHdId = o.EstimateHdId,
PortionId = o.PortionId,
ItemNo = o.ItemNo,
SubPortDesc = o.SubPortDesc,
Area = o.Area,
TotalMaterials = o.TotalMaterials,
TotalLabor = o.TotalLabor,
TotalOthMat = o.TotalOthMat,
Id = o.Id
}
};
var totalCount = await filteredEstimateSubPortions.CountAsync();
**** error here below first time it loads afterwards it's ok *****
return new PagedResultDto<GetEstimateSubPortionForViewDto>(
totalCount,
await estimateSubPortions.ToListAsync()
);
ng build --prod
13% building 31/40 modules 9 active ...rc\DNEthan.Web.Host\node_modules\famfamfam-flags\dist\sprite\famfamfam-flags.css
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.
{"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
how do go to last page in paginator and display new record after a Create and Save process
Do you have a delete function that delete all order details of a single Order without the need for looping each record.