If i have the following code example:
public class ClassBase { public int ID { get; set; } public string Name { get; set; } } public class ClassA :
You can't, that's the whole point of inheritance: the subclass must offer all methods and properties of the base class.
You could change the implementation to throw an exception when the property is called (if it were virtual)...