ToSqlInt16() public method

public ToSqlInt16 ( ) : SqlInt16
return SqlInt16
Beispiel #1
0
 /// <summary>
 /// Converts the value of the specified SqlDecimal to its equivalent SqlInt16 representation.
 /// </summary>
 /// <param name="value">An SqlDecimal.</param>
 /// <returns>The equivalent SqlInt16.</returns>
 public static SqlInt16 ToSqlInt16(SqlDecimal value) { return value.ToSqlInt16(); }
		/// <summary>Converts the value from <c>SqlDecimal</c> to an equivalent <c>SqlInt16</c> value.</summary>
		public static SqlInt16 ToSqlInt16(SqlDecimal p) { return p.ToSqlInt16();                                                                    }