public override void ReadEntity(IDictionary <string, EntityProperty> properties, OperationContext operationContext)
        {
            base.ReadEntity(properties, operationContext);

            // Deserialize to any properties with the [EntityEnumPropertyConverter] attribute.
            EntityEnumPropertyConverter.Deserialize(this, properties);
        }
        public override IDictionary <string, EntityProperty> WriteEntity(OperationContext operationContext)
        {
            var results = base.WriteEntity(operationContext);

            // Serialize any properties with the [EntityEnumPropertyConverter] attribute.
            EntityEnumPropertyConverter.Serialize(this, results);

            return(results);
        }