Exemple #1
0
        public override void SetDynamicEntityProperties(IDynamicEntityPropertyDefinitionContext context)
        {
            //动态属性支持的输入类型
            context.Manager.AddAllowedInputType <SingleLineStringInputType>();

            //支持动态属性的实体
            context.Manager.AddEntity <Contract, Guid>();
        }
        public override void SetDynamicEntityProperties(IDynamicEntityPropertyDefinitionContext context)
        {
            context.Manager.AddAllowedInputType <SingleLineStringInputType>();
            context.Manager.AddAllowedInputType <CheckboxInputType>();
            context.Manager.AddAllowedInputType <ComboboxInputType>();

            context.Manager.AddEntity <Country, int>();
        }
Exemple #3
0
        public override void SetDynamicEntityProperties(IDynamicEntityPropertyDefinitionContext context)
        {
            context.Manager.AddAllowedInputType <SingleLineStringInputType>();
            context.Manager.AddAllowedInputType <ComboboxInputType>();
            context.Manager.AddAllowedInputType <CheckboxInputType>();
            context.Manager.AddAllowedInputType <MultiSelectComboboxInputType>();

            //Add entities here
            context.Manager.AddEntity <User, long>();
        }
Exemple #4
0
 /// <summary>
 /// Used to add/manipulate dynamic property definitions.
 /// </summary>
 /// <param name="context">Context</param>,
 public abstract void SetDynamicEntityProperties(IDynamicEntityPropertyDefinitionContext context);