G
Guest
Generics are new to me.
I want to write a function that accepts a generic parameter that is either a
dataset or a typed dataset. Have the function fill that object and return it.
Is this possilbe without casting it as an object and then ctype the returned
object to the desired type.
I thought generics will allow me to pass a dataset and have it filled or
pass a typed dataset and have it filled, using the same function.
Thank you for your help,
Karl
I want to write a function that accepts a generic parameter that is either a
dataset or a typed dataset. Have the function fill that object and return it.
Is this possilbe without casting it as an object and then ctype the returned
object to the desired type.
I thought generics will allow me to pass a dataset and have it filled or
pass a typed dataset and have it filled, using the same function.
Thank you for your help,
Karl