Implemented https://github.com/linq2db/linq2db/issues/47.