public Schema()
     : base()
 {
     InstanceType = typeof(__HtmlPage__);
     ClassName    = "HtmlPage";
     Properties.ClearExposed();
     Html = Add <__TString__>("Html");
     Html.DefaultValue = "/KitchenSink/HtmlPage.html";
     Html.SetCustomAccessors((_p_) => { return(((__HtmlPage__)_p_).__bf__Html__); }, (_p_, _v_) => { ((__HtmlPage__)_p_).__bf__Html__ = (System.String)_v_; }, false);
     Bio = Add <__TString__>("Bio");
     Bio.DefaultValue = "";
     Bio.SetCustomAccessors((_p_) => { return(((__HtmlPage__)_p_).__bf__Bio__); }, (_p_, _v_) => { ((__HtmlPage__)_p_).__bf__Bio__ = (System.String)_v_; }, false);
 }
Exemplo n.º 2
0
 public Schema()
     : base()
 {
     InstanceType = typeof(__Textarea__);
     ClassName    = "TextareaPage";
     Properties.ClearExposed();
     Html = Add <__TString__>("Html");
     Html.DefaultValue = "/KitchenSink/TextareaPage.html";
     Html.SetCustomAccessors((_p_) => { return(((__Textarea__)_p_).__bf__Html__); }, (_p_, _v_) => { ((__Textarea__)_p_).__bf__Html__ = (System.String)_v_; }, false);
     Bio = Add <__TString__>("Bio$");
     Bio.DefaultValue = "";
     Bio.Editable     = true;
     Bio.SetCustomAccessors((_p_) => { return(((__Textarea__)_p_).__bf__Bio__); }, (_p_, _v_) => { ((__Textarea__)_p_).__bf__Bio__ = (System.String)_v_; }, false);
     BioReaction = Add <__TString__>("BioReaction", bind: "CalculatedBioReaction");
     BioReaction.DefaultValue = "";
     BioReaction.SetCustomAccessors((_p_) => { return(((__Textarea__)_p_).__bf__BioReaction__); }, (_p_, _v_) => { ((__Textarea__)_p_).__bf__BioReaction__ = (System.String)_v_; }, false);
 }