ToSqlBinary() public method

public ToSqlBinary ( ) : SqlBinary
return SqlBinary
Beispiel #1
0
        // SqlTypes.
#if !(NET_1_1)
        /// <summary>
        /// Converts the value of the specified SqlBytes to its equivalent SqlBinary representation.
        /// </summary>
        /// <param name="value">An SqlBytes.</param>
        /// <returns>The equivalent SqlBinary.</returns>
        public static SqlBinary ToSqlBinary(SqlBytes value) { return value.ToSqlBinary(); }
		// Sql Types
		//
		/// <summary>Converts the value from <c>SqlBytes</c> to an equivalent <c>SqlBinary</c> value.</summary>
		public static SqlBinary ToSqlBinary(SqlBytes p) { return p.ToSqlBinary();                                                 }
Beispiel #3
0
 /// <summary>
 /// Converts the value of the specified SqlBytes to its equivalent SqlGuid representation.
 /// </summary>
 /// <param name="value">An SqlBytes.</param>
 /// <returns>The equivalent SqlGuid.</returns>
 public static SqlGuid ToSqlGuid(SqlBytes value) { return value.ToSqlBinary().ToSqlGuid(); }
Beispiel #4
0
		/// <summary>Converts the value from <c>SqlBytes</c> to an equivalent <c>SqlGuid</c> value.</summary>
		public static SqlGuid ToSqlGuid(SqlBytes p)        { return p.ToSqlBinary().ToSqlGuid(); }