Metode System.Convert

LINQ ke SQL tidak mendukung metode berikut Convert .

  • Versi dengan IFormatProvider parameter.

  • Metode yang menggunakan array karakter atau array byte:

  • Metode berikut:

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

      Type1 dan Type2 masing-masing dari sbyte, uint, ulong, atau 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

Lihat juga