public string LocatorFor(string rootTableAlias) { // Super hokey. return(SqlLocator.Replace("d.", rootTableAlias + ".")); }