protected static DataAccessConfiguration GetConfig(string instanceName)
 {
     return(DataAccessConfigurationMangement.GetDataAccessConfiguration(instanceName.Trim()));
 }
        /// <summary>
        /// 根据名称获取数据访问
        /// </summary>
        /// <param name="instanceName"></param>
        /// <returns></returns>
        public static DataAccessBroker Instance(string instanceName)
        {
            DataAccessConfiguration config = DataAccessConfigurationMangement.GetDataAccessConfiguration(instanceName.Trim());

            return(Instance(config));
        }