castleproject/MonoRail — pull request #14 by cdanes (2012-05-03 17:15:42+00:00)
Title: Changed identification of Entity vs. Complex types to only care about the key

@hammett
-------
OData V3 Specs:

Entities are instances of entity types (e.g. Customer, Employee, etc.). Entity types are nominal structured types with a key. Entities consist of named properties and MAY include relationships with other entities. Entity types support single inheritance from other entity types. Entities are the core identity types in a data model.

Complex types are keyless nominal structural types consisting of a set of properties. These are value types that lack identity. Complex types are commonly used as property values in an entity or as parameters to operations.