System.Data.SqlTypes.SqlInt16.ToSqlBoolean C# (CSharp) Method

ToSqlBoolean() public method

public ToSqlBoolean ( ) : SqlBoolean
return SqlBoolean
        public SqlBoolean ToSqlBoolean()
        {
            return (SqlBoolean)this;
        }

Usage Example

Beispiel #1
0
 /// <summary>
 /// Converts the value of the specified SqlInt16 to its equivalent SqlBoolean representation.
 /// </summary>
 /// <param name="value">An SqlInt16.</param>
 /// <returns>The equivalent SqlBoolean.</returns>
 public static SqlBoolean ToSqlBoolean(SqlInt16 value) { return value.ToSqlBoolean(); }
All Usage Examples Of System.Data.SqlTypes.SqlInt16::ToSqlBoolean