SqlCeFunctions.DataLength Method
Returns the number of bytes used to represent any expression.
Assembly: EntityFramework.SqlServerCompact (in EntityFramework.SqlServerCompact.dll)
Name | Description | |
---|---|---|
![]() ![]() | DataLength(Byte[]) | Returns the number of bytes used to represent any expression. |
![]() ![]() | DataLength(Nullable<Boolean>) | Returns the number of bytes used to represent any expression. |
![]() ![]() | DataLength(Nullable<DateTime>) | Returns the number of bytes used to represent any expression. |
![]() ![]() | DataLength(Nullable<Decimal>) | Returns the number of bytes used to represent any expression. |
![]() ![]() | DataLength(Nullable<Double>) | Returns the number of bytes used to represent any expression. |
![]() ![]() | DataLength(Nullable<Guid>) | Returns the number of bytes used to represent any expression. |
![]() ![]() | DataLength(String) | Returns the number of bytes used to represent any expression. |
SqlCeFunctions.DataLength Method (Byte[])
Returns the number of bytes used to represent any expression.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg")] [DbFunctionAttribute("SqlServerCe", "DATALENGTH")] public static Nullable<int> DataLength( byte[] arg )
Parameters
- arg
-
Type:
System.Byte[]
The value to be examined for length.
SqlCeFunctions.DataLength Method (Nullable<Boolean>)
Returns the number of bytes used to represent any expression.
[DbFunctionAttribute("SqlServerCe", "DATALENGTH")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg")] public static Nullable<int> DataLength( Nullable<bool> arg )
Parameters
- arg
-
Type:
System.Nullable<Boolean>
The value to be examined for data length.
SqlCeFunctions.DataLength Method (Nullable<DateTime>)
Returns the number of bytes used to represent any expression.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg")] [DbFunctionAttribute("SqlServerCe", "DATALENGTH")] public static Nullable<int> DataLength( Nullable<DateTime> arg )
Parameters
- arg
-
Type:
System.Nullable<DateTime>
The value to be examined for data length.
SqlCeFunctions.DataLength Method (Nullable<Decimal>)
Returns the number of bytes used to represent any expression.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg")] [DbFunctionAttribute("SqlServerCe", "DATALENGTH")] public static Nullable<int> DataLength( Nullable<decimal> arg )
Parameters
- arg
-
Type:
System.Nullable<Decimal>
The value to be examined for data length.
SqlCeFunctions.DataLength Method (Nullable<Double>)
Returns the number of bytes used to represent any expression.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg")] [DbFunctionAttribute("SqlServerCe", "DATALENGTH")] public static Nullable<int> DataLength( Nullable<double> arg )
Parameters
- arg
-
Type:
System.Nullable<Double>
The value to be examined for data length.
SqlCeFunctions.DataLength Method (Nullable<Guid>)
Returns the number of bytes used to represent any expression.
[DbFunctionAttribute("SqlServerCe", "DATALENGTH")] [SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg")] public static Nullable<int> DataLength( Nullable<Guid> arg )
Parameters
- arg
-
Type:
System.Nullable<Guid>
The value to be examined for data length.
SqlCeFunctions.DataLength Method (String)
Returns the number of bytes used to represent any expression.
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "arg")] [DbFunctionAttribute("SqlServerCe", "DATALENGTH")] public static Nullable<int> DataLength( string arg )
Parameters
- arg
-
Type:
System.String
The value to be examined for data length.