I am using sort of the following code to get all properties of a entity
IList<EdmProperty> list = entity.Properties.Where(p => p.TypeUsage.EdmType is PrimitiveType && p.DeclaringType == entity)
Then I iterate through these list, access each Property and read the Property Properties (Yeah, much properties, hope no one gets to confused).
While I can easily access the General
attributes I don't know how to access the other Properties of the the Entity-Property like Max Length
& Fixed Length