通过以下代码解决:所以我的GetType DataContext应该是ProductionDataContext,因为我将其重命名了。 VS给的错误让我感到困惑,并且不再看了。
Dim dc As New ProductionDataContext
Dim columnNames = dc.Mapping.MappingSource.GetModel(GetType(ProductionDataContext)).GetMetaType(GetType(tblInterventies)).DataMembers