public string?WhereSignature() { var includeColumns = IncludeColumns.HasItems() ? IncludeColumns.ToString(c => c.Name, "_") : null; if (string.IsNullOrEmpty(Where) && includeColumns == null) { return(null); } return("__" + StringHashEncoder.Codify(Where + includeColumns)); }
protected string ColumnSignature() { string columns = Columns.ToString(c => c.Name, "_"); var includeColumns = IncludeColumns.HasItems() ? IncludeColumns.ToString(c => c.Name, "_") : null; if (string.IsNullOrEmpty(Where) && includeColumns == null) { return(columns); } return(columns + "__" + StringHashEncoder.Codify(Where + includeColumns)); }