Changes between Version 41 and Version 42 of FDORfc50


Ignore:
Timestamp:
Jul 15, 2010, 2:01:51 PM (14 years ago)
Author:
romicadascalescu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc50

    v41 v42  
    167167      };
    168168}}}
     169In 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.
    169170
    170171We 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);}
     172GetJoinTypes() will return FdoJoinType_None in case no join is supported.
     173
     174Default 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.
    173175
    174176{{{