Example #1
0
        internal string GetTypeName(Type type)
        {
            var t = typeNames.FirstOrDefault(x => x.Type == type);

            if (t != null)
            {
                return(t.Name);
            }
            return(MapperConfig.GetTableName(type));
        }