/// <summary>
        /// 获取表,带架构
        /// </summary>
        /// <param name="resolver">实体解析器</param>
        /// <param name="entity">实体类型</param>
        public static string GetTableAndSchema(this IEntityResolver resolver, Type entity)
        {
            if (resolver == null)
            {
                throw new ArgumentNullException(nameof(resolver));
            }
            var schema = resolver.GetSchema(entity);
            var table  = resolver.GetTable(entity);

            if (string.IsNullOrWhiteSpace(schema))
            {
                return(table);
            }
            return($"{schema}.{table}");
        }