loadProperty method

bool loadProperty(
  1. String name,
  2. int age,
  3. DateTime modificationDate,
  4. dynamic value,
)
Load property value (used by stores) Property name Property age Property value

Implementation

bool loadProperty(
    String name, int age, DateTime modificationDate, dynamic value) {
  /*
      var pt = _template.getPropertyTemplate(name);

      if (pt == null)
          return false;

      if (pt.info.propertyType == typeof(DistributedPropertyContext))
          return false;

      try
      {
          if (pt.into.canWrite)
              pt.info.setValue(resource, DC.CastConvert(value, pt.Info.PropertyType));
      }
      catch(ex)
      {
          //
      }

      setAge(pt.index, age);
      setModificationDate(pt.index, modificationDate);

    */
  return true;
}