初始化新的PrimaryKeyRange实例。
表示左开右闭的主键范围。
该构造函数将使用begin和end中不为InfMin或
InfMax的那一个的数据类型作为RangeType。
如果begin为InfMin的同时end为InfMax,
则RangeType默认为String;
如果需要指定RangeType,请使用构造函数的另一个重载:
PrimaryKeyRange(String, PrimaryKeyValue, PrimaryKeyValue, PrimaryKeyType)。
Namespace: Aliyun.OpenServices.OpenTableService
Assembly: Aliyun.OpenServices (in Aliyun.OpenServices.dll) Version: 1.0.5290.21916
Syntax
public PrimaryKeyRange( string primaryKeyName, PrimaryKeyValue rangeBegin, PrimaryKeyValue rangeEnd )
Parameters
- primaryKeyName
- Type: SystemString
范围的主键名。 - rangeBegin
- Type: Aliyun.OpenServices.OpenTableServicePrimaryKeyValue
查询对应的主键列的起始值,类型必须与主键列指定的数据类型一致;或是InfMin。 - rangeEnd
- Type: Aliyun.OpenServices.OpenTableServicePrimaryKeyValue
查询对应的主键列的结束值,类型必须与主键列指定的数据类型一致;或是InfMax。
Remarks
See Also