ToSqlByte() public method

public ToSqlByte ( ) : SqlByte
return SqlByte
Example #1
0
 /// <summary>
 /// Converts the value of the specified SqlBoolean to its equivalent SqlByte representation.
 /// </summary>
 /// <param name="value">An SqlBoolean.</param>
 /// <returns>The equivalent SqlByte.</returns>
 public static SqlByte ToSqlByte(SqlBoolean value) { return value.ToSqlByte(); }
Example #2
0
		// Sql Types
		//
		/// <summary>Converts the value from <c>SqlBoolean</c> to an equivalent <c>SqlByte</c> value.</summary>
		public static SqlByte ToSqlByte(SqlBoolean p) { return p.ToSqlByte();                                              }