예제 #1
0
        public override IDictionary <string, EntityProperty> WriteEntity(OperationContext operationContext)
        {
            var results = base.WriteEntity(operationContext);

            EntityJsonPropertyConverter.Serialize(this, results);
            return(results);
        }
 public override void ReadEntity(IDictionary <string, EntityProperty> properties,
                                 OperationContext operationContext)
 {
     base.ReadEntity(properties, operationContext);
     EntityJsonPropertyConverter.Deserialize(this, properties);
     NullableEntityEnumPropertyConverter.Deserialize(this, properties);
     EntityEnumPropertyConverter.Deserialize(this, properties);
 }