Question: So, I recently submitted my first iphone app to Apple.
I did not stream my videos and they are over 10 minutes long, so my app was denied because I did not use HTTP Live Streaming.

So, we stream live videos every week. Those files are stored somewhere, but I am a little unsure of where. I want the video files that I made a feed for to be converted into streamed videos. But I don't want to use Apple's HTTP Live software. I do not know how to code into streamed video. 

Is there anyway to either figure out where my streamed files are storing or is there a software that will convert videos into streamed video? Will take any suggestions.

Thanks

Answer: 
> 
> Both ways are working and I would like
>  to know, which one is correct
>  (better/faster).
> 
> 
> 

Using Linq to Entities in general Navigation properties are the way to go - the data is joined in automatically for you (if you use `Include`).

Your first query is not optimized for getting a count currently, you can just write:

```
count = db.Projects.Include("Tasks").First().Tasks.Count();

```

Otherwise you are loading all related task entities from the DB.
Why don't you use this:

```
project.Tasks.Load();

```