public IQueryable<Device> GetByDeviceTypeGuid( Guid guid ) { return Queryable().Where( d => d.DeviceType.Guid == guid ); }