SqlMoney.ToSqlInternalRepresentation Method
Returns the value of this SqlMoney
instance scaled by a ten-thousandth of a currency unit.
For example, if the current SqlMoney
instance represents 2 currency units, the
ToSqlInternalRepresentation
method will return 20000.
If this SqlMoney
instance represents a null value (see IsNull), calling this method will throw a SqlNullValueException.
internal long ToSqlInternalRepresentation();
Remarks
Warning
This method is internal and is not meant to be used directly in your code. This API may not be available in future versions of .NET.
Microsoft does not support the use of this method in a production application under any circumstance.
Requirements
Namespace: System.Data.SqlTypes
Assembly: System.Data (in System.Data.dll)
.NET Framework versions: Available since 2.0.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for