public virtual string GetCommandText(DataParameter[] parameterList, bool ignoreNullValue) { string filterString; if (DataFilter == null) { return(Sql); } filterString = DataFilter.GetFilterString(parameterList, ignoreNullValue); if (filterString.IsNullOrEmpty()) { filterString = TrueFilter; } return(String.Format(Sql, filterString)); }