Overload List
Type | Name | Description |
---|---|---|
![]() | CompareTo(Object) |
Compares two IDs. This method returns -1 if this is less than arg,
1 if this is greater than arg, and 0 if the IDs are equal.
(Inherited from Id.)This comparison is consistent with how IDs are compared in the DB2 and Oracle databases, but does not match how MSSQL Server compares IDs. For MSSQL Server databases, use CompareTo(arg, dbType). |
![]() | CompareTo(Object, DatabaseType) |
Compares two IDs as is done in a database search.
This method returns -1 if this is less than arg,
1 if this is greater than arg, and 0 if the IDs are equal.
(Inherited from Id.)This comparison matches the way that the databases compare IDs if done in a database search. dbType may be null if the comparison algorithm does not need to match that of any particular database. Specifying null for dbType is the same as calling the single-parameter form of this method, CompareTo(arg). |