. . "If you only want reference types as entities, you should set constraints on your generic parameters." . .