Try this:
/// via a given PersistenceManager.</summary>
/// <param name="pRdbEntityType">RdbEntityType whose name may be different
/// than the corresponding SQL table name.</param>
/// <param name="pManager">The PersistenceManager which is our gateway to
/// the concrete database datasource.</param>
/// <remarks>
/// Includes table owner name, formatted per the applicable SQL provider, e.g.
/// orderInfo.GetSqlTableName returns "dbo"."MachineSummary".
/// </remarks>
public static string GetSqlTableName(Type pRdbEntityType, PersistenceManager pManager) {
RdbKey key = (RdbKey) pManager.DataSourceResolver.GetDataSourceKey(pRdbEntityType);
RdbQuerySqlFormatter formatter = new RdbQuerySqlFormatter(key.AdoHelper);
return formatter.QualifyTableName(pRdbEntityType);
}