I have problem as above. My code:
public abstract class BaseFactory where T: class { protected static dbModelContainer context = new dbModelContaine
You can't, because there is no such method. The closest is to have a non-generic base that the generic class inherits from. Then you can have a method there that doesn't depend on the parameterising type.