Wednesday, 2 October 2013

does inherited class can access base class

does inherited class can access base class

If I have ThumbPhoto entity which inherits Photo entity and Photo entity
inherits Entity<int> is it enough to use
public class ThumbnailPhoto : Photo
or should I use
public class ThumbnailPhoto : Photo, Entity<int>

No comments:

Post a Comment