Changes between Version 41 and Version 42 of FDORfc50
- Timestamp:
- 07/15/10 14:01:51 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc50
v41 v42 167 167 }; 168 168 }}} 169 In case user will try to use FdoJoinType_None to define a FdoJoinCriteria, an exception will be thrown that's because FdoJoinType_None is added just to define unsupported value for join type. 169 170 170 171 We need to add two new methods in connection capabilities: supports join selects (to avoid an exception when a user will try to use the new method from FdoISelect) and also supported join types which can be a collection or a value as OR between values, since all join types cannot be more than we can fit in a int32 using OR e.g.: val1|val2. We need to add an extra capability named !SupportsSubSelects() since sub-select will be handled in filter side and applications might need a way to detect if it will allow users to create sub-selects in filter. 171 GetJoinTypes() will return FdoJoinType_None in case no join is supported. 172 Since we can detect if a connection can support joins using GetJoinTypes() then SupportsJoins() can be removed or can be implemented as SupportsJoins(){return (GetJoinTypes() != 0);} 172 GetJoinTypes() will return FdoJoinType_None in case no join is supported. 173 174 Default implementation for GetJoinTypes() will return FdoJoinType_None and SupportsJoins() will return false, since is not normal to throw exceptions when caller wants to get capabilities. 173 175 174 176 {{{