/// <summary>
        /// Gets generated data object code for the selected server object.
        /// </summary>
        /// <returns>A code string.</returns>
        public string GetCurrentServerObjectDataObject(string languageOption)
        {
            var codeFactory = new CodeFactory(languageOption);
            var tableView   = GetCurrentTableView();

            return(codeFactory.GetDataObjectCode(tableView));
        }