public static void OnLoad(DataMap dataMap, ApplicationSchemaDefinition application) { var context = new OnLoadContext(application, MetadataRepository, User.Current); var behavior = GetBehavior(context.Application); behavior.OnLoad(context, dataMap); }
/// <summary> /// Invoked when a data map is loaded from the repository. /// This method can be used to tweak data to be displayed /// by the UI or perform any related tasks. /// </summary> /// <param name="context">The operation context.</param> /// <param name="dataMap">The data map that was just loaded from the repository.</param> public virtual void OnLoad(OnLoadContext context, DataMap dataMap) { }