Beispiel #1
0
        /// <summary>
        /// 生成Schema模板
        /// </summary>
        /// <param name="schema">The schema.</param>
        /// <param name="formType">Type of the form.</param>
        /// <returns></returns>
        public static string GenerateForm(this Schema schema, FormType formType)
        {
            ISchema iSchema = schema.AsActual();

            return(iSchema.Generate(formType.ToString()));
        }