I need some help developing a two linq querys.
this is my table:
Id int
ComputadorID int
UtilID int
UtilizadorId int
DataInicio datetime
DataFim datetime
Removido bit
what i want to do is getting a two list:
First list gets the count by hours;
Second list gets the count by day;
in the two list only count when datafim is inserted
how can i do it?
Assuming DataInicio is your colum that has the days and hours you could try something like this