fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (7)
335internal static SqlByte GetSqlByte( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal, SmiMetaData metaData ) {
338return SqlByte.Null;
346return (SqlByte) result;
1104SqlByte.Null, // SqlDbType.TinyInt
1469internal static void SetSqlByte( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SmiMetaData metaData, SqlByte value ) {
1618case ExtendedClrTypeCode.SqlByte: SetSqlByte_Unchecked( sink, setters, ordinal, (SqlByte) value ); break;
3397private static void SetSqlByte_Unchecked( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SqlByte value ) {
fx\src\data\System\Data\SqlClient\SqlEnums.cs (6)
308else if (dataType == typeof(SqlByte))
395else if (sqlType == typeof(SqlByte)) return SqlByte.Null;
442else if (sqlVal is SqlByte)
443comVal = ((SqlByte)sqlVal).Value;
743(3, 255, 1, true, false, false, TdsEnums.SQLINT1, TdsEnums.SQLINTN, MetaTypeName.TINYINT, typeof(System.Byte), typeof(SqlByte), SqlDbType.TinyInt, DbType.Byte, 0);
fx\src\data\System\Data\SQLTypes\SQLByte.cs (105)
94public static implicit operator SqlByte(byte x) {
102public static explicit operator byte(SqlByte x) {
116public static SqlByte Parse(String s) {
118return SqlByte.Null;
127public static SqlByte operator ~(SqlByte x) {
138public static SqlByte operator +(SqlByte x, SqlByte y) {
152public static SqlByte operator -(SqlByte x, SqlByte y) {
166public static SqlByte operator *(SqlByte x, SqlByte y) {
180public static SqlByte operator /(SqlByte x, SqlByte y) {
194public static SqlByte operator %(SqlByte x, SqlByte y) {
209public static SqlByte operator &(SqlByte x, SqlByte y) {
216public static SqlByte operator |(SqlByte x, SqlByte y) {
223public static SqlByte operator ^(SqlByte x, SqlByte y) {
235public static explicit operator SqlByte(SqlBoolean x) {
246public static explicit operator SqlByte(SqlMoney x) {
254public static explicit operator SqlByte(SqlInt16 x) {
268public static explicit operator SqlByte(SqlInt32 x) {
282public static explicit operator SqlByte(SqlInt64 x) {
296public static explicit operator SqlByte(SqlSingle x) {
310public static explicit operator SqlByte(SqlDouble x) {
324public static explicit operator SqlByte(SqlDecimal x) {
325return(SqlByte)(SqlInt32)x;
333public static explicit operator SqlByte(SqlString x) {
341public static SqlBoolean operator==(SqlByte x, SqlByte y) {
348public static SqlBoolean operator!=(SqlByte x, SqlByte y) {
355public static SqlBoolean operator<(SqlByte x, SqlByte y) {
362public static SqlBoolean operator>(SqlByte x, SqlByte y) {
369public static SqlBoolean operator<=(SqlByte x, SqlByte y) {
376public static SqlBoolean operator>=(SqlByte x, SqlByte y) {
385public static SqlByte OnesComplement(SqlByte x) {
390public static SqlByte Add(SqlByte x, SqlByte y) {
395public static SqlByte Subtract(SqlByte x, SqlByte y) {
400public static SqlByte Multiply(SqlByte x, SqlByte y) {
405public static SqlByte Divide(SqlByte x, SqlByte y) {
410public static SqlByte Mod(SqlByte x, SqlByte y) {
414public static SqlByte Modulus(SqlByte x, SqlByte y) {
419public static SqlByte BitwiseAnd(SqlByte x, SqlByte y) {
424public static SqlByte BitwiseOr(SqlByte x, SqlByte y) {
429public static SqlByte Xor(SqlByte x, SqlByte y) {
434public static SqlBoolean Equals(SqlByte x, SqlByte y) {
439public static SqlBoolean NotEquals(SqlByte x, SqlByte y) {
444public static SqlBoolean LessThan(SqlByte x, SqlByte y) {
449public static SqlBoolean GreaterThan(SqlByte x, SqlByte y) {
454public static SqlBoolean LessThanOrEqual(SqlByte x, SqlByte y) {
459public static SqlBoolean GreaterThanOrEqual(SqlByte x, SqlByte y) {
514if (value is SqlByte) {
515SqlByte i = (SqlByte)value;
519throw ADP.WrongType(value.GetType(), typeof(SqlByte));
522public int CompareTo(SqlByte value) {
540if (!(value is SqlByte)) {
544SqlByte i = (SqlByte)value;
603public static readonly SqlByte Null = new SqlByte(true);
607public static readonly SqlByte Zero = new SqlByte(0);
611public static readonly SqlByte MinValue = new SqlByte(Byte.MinValue);
615public static readonly SqlByte MaxValue = new SqlByte(Byte.MaxValue);