nullable

nullable

 英

  • 网络允许空值;值类型;可空类型

例句

Attribute value with a null reference assigned to a reference type or to a nullable value type.

属性等同分配引用类型分配类型引用

The result of an arithmetic operator is always nullable, even if the operands are nonnullable and ANSI_WARNINGS or ARITHABORT is set ON.

即使操作不可并且ANSI_WARNINGSARITHABORT设置ON算术运算符结果始终

Operator defines the default value to be returned when a nullable type is assigned to a non-nullable type.

运算符定义类型分配类型返回默认

A type parameter can be constrained to be a reference type, a non- nullable value type, and to have a default constructor .

类型参数可以约束引用类型不可类型具有默认构造函数

Specifically, any type defined as Nullable(Of T) wasn't allowed to be optional.

特别定义NullableOfT任何类型允许是可

Use nullable types to represent things that exist or do not exist depending on the circumstance.

根据具体环境使用类型表示存在存在事物

The nullability property of arithmetic operators over floating point data type is always nullable.

浮点数据类型执行运算算术运算符性属性始终

Assign a value to a nullable type just as you would for an ordinary value type, for example int?

可以null类型方法一般类型方法相同int

In this case, define the field to be a nullable type instead of a value type.

这种情况下字段定义类型不是类型

Though most Rails developers do not like to keep constraints in the database, you should consider things like nullable columns.

虽然大多数Rails开发人员喜欢数据库保留限制应该考虑这样事情

The as operator must be used with a reference type or nullable type ('int' is a non-nullable value type).

as运算符必须引用类型null类型一起使用(“int不可null类型)。

You can declare variables and properties with nullable types, and you can declare an array with elements of a nullable type.

可以类型声明变量属性可以类型元素声明数组

If there is no default value and the column is not nullable, the server will return an error and an exception will be thrown.

如果没有默认不可服务器返回错误此时引发异常

You can also use the classes and methods of the System. Reflection namespace to generate Type objects that represent Nullable types.

可以使用System.Reflection命名空间方法生成表示可以null类型Type对象

In the lower right part of the section, set all key columns of the output link to non-nullable by selecting No in the nullable column.

部分通过选择No所有输出链接关键设置

Indicates whether the current Nullable object is equal to a specified object.

指示当前Nullable对象是否等于指定对象

Columns in the view select list can be nullable or not nullable.

视图选择列表可以可以

You store a value in a variable or property of a nullable type in the normal way.

常规方式存储类型变量属性

Calling GetType on a Nullable type causes a boxing operation to be performed when the type is implicitly converted to Object.

如果类型调用GetType类型隐式转换Object执行装箱操作

True - then boxing takes place, but only the underlying type that the nullable object is based upon is boxed.

发生装箱过程对象基于基础类型装箱

For this constraint to execute, the foreign key columns must be nullable.

若要执行约束必须

If the column is NULLABLE, any number of NULLs can be inserted in that column.

如果可以包含NULL可以在此插入任意数量NULL

Therefore you cannot use is to determine whether a variable is a Nullable type.

因此不能使用is确定变量是否类型

If the return type of the method is nullable, the distinguished null value for the type is returned.

如果方法返回类型可以返回类型突出默认

Nullable types are a special case of generic types.

Null类型泛型类型特例

The Nullable class provides complementary support for the Nullable structure.

NullableNullable结构提供补充支持

True clears all columns except the declared primary key, nullable columns with no default, and unique key columns.

清除声明没有默认并且以及唯一以外所有

Invokes a transform function on each element of a sequence and returns the maximum nullable Int32 value.

调用序列每个元素转换函数返回Int32最大

In this example, no one is allowed to update or insert into that column, which is also marked as unique and not nullable.

允许任何人更新插入同样标记唯一不得

There is one major concern regarding this second strategy: in order for it to work, you must set all non-shared columns to NULLABLE.

关于第二策略一个需要重点考虑地方为了工作必须所有共享设置NULLABLE

The metadata API also provides the ability to define nullable columns, establish primary keys, and set-up relationships between tables.

元数据API提供了定义可以能力设置之间关系

ANSI_NULL defaults are always on for ALTER COLUMN; if not specified, the column is nullable.

对于ALTERCOLUMN,ANSI_NULL默认值始终ON如果没有指定

The value returned for this column is different from the value returned for the NULLABLE column.

返回NULLABLE返回不同

The expression may be a null value if the parameter is nullable.

如果参数表达可能

If the target column is not nullable, the insert or update action fails and the user receives an error.

如果目标不可插入更新操作失败用户收到错误消息

For an example of when you might use a nullable type, consider how an ordinary Boolean variable can have two values: true and false.

有关可能使用可以null类型示例请考虑普通布尔变量如何能够具有两个truefalse

Nullable types are useful when working with databases and other data structures that may contain elements that contain no specific values.

使用数据库其他可能包含含有具体元素数据结构可以使用类型

Previously , the code would allow default behavior to occur when handling nullable fields .

以前代码允许处理采用缺省行为

If a column is nullable and there is no explicit default value set, NULL becomes the implicit default value of the column.

如果某个并且设置显式默认使用NULL作为隐式默认

Correctly generate Update statements for nullable columns.

能够正确生成Update语句