Information générale
Catégorie:
Visual FoxPro Beta
I think it would be useful to control the datatypes of a cursor returned. I would prefer to have another property in the CA class that works like ConversionFunc:
CursorAdapter.SelectCmdConversionFunc = "hiredate TTOD, vacdays INT"
I would like to have full control over what the data returned looks like. If I want my app to use multiple data stores, they do not always much up when using date or logical fields.
>Fabio,
>
>What's the real USE CASE for wanting to be able to create a CursorAdapter that doesn't match the data store? It seems to be far more problematic than useful.
>
>If you make a CA field nullable but the base table doesn't support it, now the CA can't push the data back to the data store where the rows have null values in the field.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement