Aracılığıyla paylaş


System.Convert Methods (LINQ to SQL)

LINQ to SQL does not support the following Convert methods.

  • Versions with an IFormatProvider parameter.

  • Methods that involve char arrays or byte arrays:

  • The following methods:

    • public static <Type2> To<Type2>(<Type1> value); where

      Type1 and Type2 are each one of sbyte, uint, ulong, or ushort.

    • C#:

      int To<int type>(string value, int fromBase),

      ToString(... value, int toBase)

    • Visual Basic:

      Function To(Of [Numeric])(value as String, fromBase As Integer)

      As [Numeric], ToString( value As …, toBase As Integer)

    • IsDBNull

    • GetTypeCode

    • ChangeType

See Also

Other Resources

Data Types and Functions (LINQ to SQL)