是的,只需将您的陈述分为两部分,如下所示:
var query = this.DataContext.Table1 .Where( x => column1 == column1Value && x.column2 == column2Value); if ( column3Value != "" ) query = query.Where( x => x.column3 == column3Value); // Your existing processing of query