Beispiel #1
0
        public override void SetDynamicEntityParameters(IDynamicEntityParameterDefinitionContext context)
        {
            context.Manager.AddAllowedInputType <SingleLineStringInputType>();
            context.Manager.AddAllowedInputType <CheckboxInputType>();
            context.Manager.AddAllowedInputType <ComboboxInputType>();

            context.Manager.AddEntity <Country, int>();
        }
        public override void SetDynamicEntityParameters(IDynamicEntityParameterDefinitionContext context)
        {
            context.Manager.AddAllowedInputType <SingleLineStringInputType>();
            context.Manager.AddAllowedInputType <ComboboxInputType>();
            context.Manager.AddAllowedInputType <CheckboxInputType>();

            //Add entities here
            context.Manager.AddEntity <User, long>();
        }
 /// <summary>
 /// Used to add/manipulate dynamic parameter definitions.
 /// </summary>
 /// <param name="context">Context</param>,
 public abstract void SetDynamicEntityParameters(IDynamicEntityParameterDefinitionContext context);