/// <summary> /// return prefix == null ? name : $"{prefix}{name}"; /// </summary> /// <param name="dbConfig"></param> /// <param name="name"> /// The object to add prefix to.<br/> /// If name start with value of {<see cref="IDbConfigSchemaTargets.GetSchemaPrefixId()"/>}, the value of <paramref name="name"/> will be returned /// </param> /// <returns></returns> public static string GetPrefixedName(this IDbConfig dbConfig, string name) { return(name.GetPrefixedName(dbConfig.GetSchemaPrefixId())); }