I have a generic function like this:
public class DataRetriever where TData : class, IData, new() where TF