Class Helpers
- Namespace
- Dynamicweb.Data
- Assembly
- Dynamicweb.Data.dll
Utility for finding a SQL collation from a CultureInfo object.
public class Helpers
- Inheritance
-
Helpers
- Inherited Members
Methods
GetNameOfSqlCollation(CultureInfo)
Gets the name of the SQL collation for a given CultureInfo.
public static string GetNameOfSqlCollation(CultureInfo culture)
Parameters
culture
CultureInfo- The culture.
Returns
- string
- System.String.
GetSQLCollationName(ref CultureInfo)
Gets the name of the SQL collation for a given CultureInfo.
[Obsolete("Use GetNameOfSqlCollation instead.")]
public static string GetSQLCollationName(ref CultureInfo culture)
Parameters
culture
CultureInfo- The culture.
Returns
- string
- System.String.