public static dataModel.OperationPropertyEntity ToDataModel(this coreModel.OperationProperty property)
		{
			if (property == null)
				throw new ArgumentNullException("property");

			var retVal = new dataModel.OperationPropertyEntity();
			retVal.InjectFrom(property);
			retVal.ValueType = property.ValueType.ToString();
			SetPropertyValue(retVal, property);
			return retVal;
		}
        /// <summary>
        /// Patch changes
        /// </summary>
        /// <param name="source"></param>
        /// <param name="target"></param>
        public static void Patch(this dataModel.OperationPropertyEntity source, dataModel.OperationPropertyEntity target)
        {
            if (target == null)
            {
                throw new ArgumentNullException("target");
            }

            var patchInjectionPolicy = new PatchInjection <dataModel.OperationPropertyEntity>(x => x.BooleanValue, x => x.DateTimeValue,
                                                                                              x => x.DecimalValue, x => x.IntegerValue,
                                                                                              x => x.Locale, x => x.LongTextValue, x => x.ShortTextValue,
                                                                                              x => x.ValueType);

            target.InjectFrom(patchInjectionPolicy, source);
        }
        public static dataModel.OperationPropertyEntity ToDataModel(this coreModel.OperationProperty property)
        {
            if (property == null)
            {
                throw new ArgumentNullException("property");
            }

            var retVal = new dataModel.OperationPropertyEntity();

            retVal.InjectFrom(property);
            retVal.ValueType = property.ValueType.ToString();
            SetPropertyValue(retVal, property);
            return(retVal);
        }