Exemplo n.º 1
0
        /// <summary>
        /// 获取数据库服务
        /// </summary>
        /// <param name="sqlStatement">SQL语句</param>
        /// <returns>数据库服务</returns>
        public ITeldDatabase GetDatabase(SqlStatement sqlStatement)
        {
            var dataSourceName = sqlStatement.SqlBuildingInfo.DataSource;

            return(new SQLDatabase(dataSourceName));
        }