C# Class System.Data.SqlTypes.SqlMoney

显示文件 Open project: dotnet/corefx Class Usage Examples

Public Properties

Property Type Description
MaxValue SqlMoney
MinValue SqlMoney
Null SqlMoney
Zero SqlMoney

Public Methods

Method Description
Add ( SqlMoney x, SqlMoney y ) : SqlMoney
CompareTo ( SqlMoney value ) : int
CompareTo ( object value ) : int
Divide ( SqlMoney x, SqlMoney y ) : SqlMoney
Equals ( SqlMoney x, SqlMoney y ) : SqlBoolean
Equals ( object value ) : bool
GetHashCode ( ) : int
GetXsdType ( XmlSchemaSet schemaSet ) : XmlQualifiedName
GreaterThan ( SqlMoney x, SqlMoney y ) : SqlBoolean
GreaterThanOrEqual ( SqlMoney x, SqlMoney y ) : SqlBoolean
LessThan ( SqlMoney x, SqlMoney y ) : SqlBoolean
LessThanOrEqual ( SqlMoney x, SqlMoney y ) : SqlBoolean
Multiply ( SqlMoney x, SqlMoney y ) : SqlMoney
NotEquals ( SqlMoney x, SqlMoney y ) : SqlBoolean
Parse ( string s ) : SqlMoney
SqlMoney ( decimal value ) : System.Data.Common

Initializes a new instance of the class with the value given.

SqlMoney ( double value ) : System.Data.Common

Initializes a new instance of the class with the value given.

SqlMoney ( int value ) : System.Data.Common

Initializes a new instance of the class with the value given.

SqlMoney ( long value ) : System.Data.Common

Initializes a new instance of the class with the value given.

Subtract ( SqlMoney x, SqlMoney y ) : SqlMoney
ToDecimal ( ) : decimal
ToDouble ( ) : double
ToInt32 ( ) : int
ToInt64 ( ) : long
ToSqlBoolean ( ) : SqlBoolean
ToSqlByte ( ) : SqlByte
ToSqlDecimal ( ) : SqlDecimal
ToSqlDouble ( ) : SqlDouble
ToSqlInt16 ( ) : SqlInt16
ToSqlInt32 ( ) : SqlInt32
ToSqlInt64 ( ) : SqlInt64
ToSqlSingle ( ) : SqlSingle
ToSqlString ( ) : SqlString
ToString ( ) : string
operator ( ) : SqlBoolean
operator ( ) : SqlMoney

Private Methods

Method Description
IXmlSerializable ( ) : XmlSchema
IXmlSerializable ( XmlReader reader ) : void
IXmlSerializable ( XmlWriter writer ) : void
SqlMoney ( bool fNull ) : System.Data.Common
SqlMoney ( long value, int ignored ) : System.Data.Common
ToSqlInternalRepresentation ( ) : long

Method Details

Add() public static method

public static Add ( SqlMoney x, SqlMoney y ) : SqlMoney
x SqlMoney
y SqlMoney
return SqlMoney

CompareTo() public method

public CompareTo ( SqlMoney value ) : int
value SqlMoney
return int

CompareTo() public method

public CompareTo ( object value ) : int
value object
return int

Divide() public static method

public static Divide ( SqlMoney x, SqlMoney y ) : SqlMoney
x SqlMoney
y SqlMoney
return SqlMoney

Equals() public static method

public static Equals ( SqlMoney x, SqlMoney y ) : SqlBoolean
x SqlMoney
y SqlMoney
return SqlBoolean

Equals() public method

public Equals ( object value ) : bool
value object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetXsdType() public static method

public static GetXsdType ( XmlSchemaSet schemaSet ) : XmlQualifiedName
schemaSet XmlSchemaSet
return XmlQualifiedName

GreaterThan() public static method

public static GreaterThan ( SqlMoney x, SqlMoney y ) : SqlBoolean
x SqlMoney
y SqlMoney
return SqlBoolean

GreaterThanOrEqual() public static method

public static GreaterThanOrEqual ( SqlMoney x, SqlMoney y ) : SqlBoolean
x SqlMoney
y SqlMoney
return SqlBoolean

LessThan() public static method

public static LessThan ( SqlMoney x, SqlMoney y ) : SqlBoolean
x SqlMoney
y SqlMoney
return SqlBoolean

LessThanOrEqual() public static method

public static LessThanOrEqual ( SqlMoney x, SqlMoney y ) : SqlBoolean
x SqlMoney
y SqlMoney
return SqlBoolean

Multiply() public static method

public static Multiply ( SqlMoney x, SqlMoney y ) : SqlMoney
x SqlMoney
y SqlMoney
return SqlMoney

NotEquals() public static method

public static NotEquals ( SqlMoney x, SqlMoney y ) : SqlBoolean
x SqlMoney
y SqlMoney
return SqlBoolean

Parse() public static method

public static Parse ( string s ) : SqlMoney
s string
return SqlMoney

SqlMoney() public method

Initializes a new instance of the class with the value given.
public SqlMoney ( decimal value ) : System.Data.Common
value decimal
return System.Data.Common

SqlMoney() public method

Initializes a new instance of the class with the value given.
public SqlMoney ( double value ) : System.Data.Common
value double
return System.Data.Common

SqlMoney() public method

Initializes a new instance of the class with the value given.
public SqlMoney ( int value ) : System.Data.Common
value int
return System.Data.Common

SqlMoney() public method

Initializes a new instance of the class with the value given.
public SqlMoney ( long value ) : System.Data.Common
value long
return System.Data.Common

Subtract() public static method

public static Subtract ( SqlMoney x, SqlMoney y ) : SqlMoney
x SqlMoney
y SqlMoney
return SqlMoney

ToDecimal() public method

public ToDecimal ( ) : decimal
return decimal

ToDouble() public method

public ToDouble ( ) : double
return double

ToInt32() public method

public ToInt32 ( ) : int
return int

ToInt64() public method

public ToInt64 ( ) : long
return long

ToSqlBoolean() public method

public ToSqlBoolean ( ) : SqlBoolean
return SqlBoolean

ToSqlByte() public method

public ToSqlByte ( ) : SqlByte
return SqlByte

ToSqlDecimal() public method

public ToSqlDecimal ( ) : SqlDecimal
return SqlDecimal

ToSqlDouble() public method

public ToSqlDouble ( ) : SqlDouble
return SqlDouble

ToSqlInt16() public method

public ToSqlInt16 ( ) : SqlInt16
return SqlInt16

ToSqlInt32() public method

public ToSqlInt32 ( ) : SqlInt32
return SqlInt32

ToSqlInt64() public method

public ToSqlInt64 ( ) : SqlInt64
return SqlInt64

ToSqlSingle() public method

public ToSqlSingle ( ) : SqlSingle
return SqlSingle

ToSqlString() public method

public ToSqlString ( ) : SqlString
return SqlString

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : SqlBoolean
return SqlBoolean

operator() public static method

public static operator ( ) : SqlMoney
return SqlMoney

Property Details

MaxValue public_oe static_oe property

Represents the maximum value that can be assigned to the property of an instance of the class.
public static SqlMoney,System.Data.SqlTypes MaxValue
return SqlMoney

MinValue public_oe static_oe property

Represents the minimum value that can be assigned to property of an instance of the class.
public static SqlMoney,System.Data.SqlTypes MinValue
return SqlMoney

Null public_oe static_oe property

Represents a null value that can be assigned to the property of an instance of the class.
public static SqlMoney,System.Data.SqlTypes Null
return SqlMoney

Zero public_oe static_oe property

Represents the zero value that can be assigned to the property of an instance of the class.
public static SqlMoney,System.Data.SqlTypes Zero
return SqlMoney