By tag: Inheritance
0
kicks
Another C# trick: Fluents, Inheritance and Extension Methods
Here’s a scenario which Damien and I encountered recently.
We needed a way of specifying Facets for properties on Entities, i.e. things like Nullable, MaxLength, Precision etc.
And we needed a class hierarchy because different types of properties have different sets of available facets.
The...
0
kicks
NHIbernate relationships and inheritance
This is the second part in a series of articles about NHIbernate. This article covers one to one and one to many relationships, inheritance, etc.
0
kicks
Alternative Lazy JavaScript Inheritance
Lazy Inheritance is an approach intended to simplify writing OOP and provides support of prototype-based classes hierarhies, automatic resolving and optimizing classes dependencies. Lazy inheritance designates a postponed linking of an object with it's prototype (class) until it is needed.
The bene...
0
kicks
Inheritance and Polymorphism
Learn to use good object-oriented design (OOD) principles for in your C# programs. Excerpt: Classes and their instances (objects) do not exist in a vacuum, but rather in a network of interdependencies and relationships, just as we, as social animals, live in a world of relationships and categories. ...
0
kicks
XmlIncludeAttribute on a Method
How to handle inheritance in web services using XmlIncludeAttribute.