SqlFunctions.Square Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Square(Nullable<Decimal>) |
Returns the square of the specified number. |
Square(Nullable<Double>) |
Returns the square of the specified number. |
Square(Nullable<Decimal>)
Returns the square of the specified number.
[System.Data.Entity.DbFunction("SqlServer", "SQUARE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg1")]
public static Nullable<double> Square (Nullable<decimal> arg1);
static member Square : Nullable<decimal> -> Nullable<double>
Public Shared Function Square (arg1 As Nullable(Of Decimal)) As Nullable(Of Double)
Parameters
Returns
The square of the input value.
- Attributes
Applies to
Square(Nullable<Double>)
Returns the square of the specified number.
[System.Data.Entity.DbFunction("SqlServer", "SQUARE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="arg1")]
public static Nullable<double> Square (Nullable<double> arg1);
static member Square : Nullable<double> -> Nullable<double>
Public Shared Function Square (arg1 As Nullable(Of Double)) As Nullable(Of Double)
Parameters
Returns
The square of the input value.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework