c# ef how to get all objects of a object from database code example Example: virtual list entity framework public virtual List<Booking> Bookings { get; set; }