HomeActive Query BuilderHow can I get data source name with separate schema name and table name?

How can I get data source name with separate schema name and table name?


I am using the following code to get the data source name:

DataSourceBase.DataSourceName

However, in this case I will get the string like "table (schema)". I am wondering if there is anyway to get two separate strings, one for schema name and one for table name?

Thanks
Scott | email
September 22 2009, 11:38 AM
You can get the qualified data source name using following expression:
string name = datasource.DatasourceAST.GetSimpleExpression(datasource.SQLContext.SQLBuilderExpression);
Eugene Starkov | email
6 days, 17 hours since original post
This topic is closed