public static string EmptyAsNull(this string str) { return (string.IsNullOrEmpty(str) ? null : str); }