Fix for https://github.com/linq2db/t4models/issues/10.
Fixed #119.
Fixed #125.