
    {
        // =================================================================================================== Constructors
        // for initialize a new MyContentHandler instance
        public MyContentHandler(Node parent) : this(parent, null) { }
        // for initialize a new MyContentHandler inherited instance
        public MyContentHandler(Node parent, string nodeTypeName) : base(parent, nodeTypeName) { }
        // for initialize instance in the loading operation
        protected MyContentHandler(NodeToken nt) : base(nt) { }
 
 
        // =================================================================================================== Properties
        private const string STRINGPROPERTY = "StringProperty";
        [RepositoryProperty(STRINGPROPERTY, RepositoryDataType.String)] // Text, Int, DateTime
        public virtual string StringProperty
        {
            get { return base.GetProperty<string>(STRINGPROPERTY); }
            set { base.SetProperty(STRINGPROPERTY, value); }
        }
 
        private const string BOOLPROPERTY = "BoolProperty";
        [RepositoryProperty(BOOLPROPERTY, RepositoryDataType.Int)]
        public virtual bool BoolProperty
        {
            get { return base.GetProperty<int>(BOOLPROPERTY)!= 0; }
            set { base.SetProperty(BOOLPROPERTY, value? 1 : 0); }
        }
 
        private const string DECIMALPROPERTY = "DecimalProperty";
        [RepositoryProperty(DECIMALPROPERTY, RepositoryDataType.Currency)]
        public virtual Decimal DecimalProperty
        {
            get { return Convert.ToDecimal(this[DECIMALPROPERTY]); }
            set { this[DECIMALPROPERTY] = Convert.ToDecimal(value); }
        }
 
        private const string REFERENCEPROPERTY = "ReferenceProperty";
        [RepositoryProperty(REFERENCEPROPERTY, RepositoryDataType.Reference)]
        public virtual Node ReferenceProperty
        {
            get { return base.GetReference<Node>(REFERENCEPROPERTY); }
            set { base.SetReference(REFERENCEPROPERTY, value); }
        }
 
        private const string BINARYPROPERTY = "BinaryProperty";
        [RepositoryProperty(BINARYPROPERTY, RepositoryDataType.Binary)]
        public virtual BinaryData BinaryProperty
        {
            get { return this.GetBinary(BINARYPROP
{ 
         // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Constructors 
         // for initialize a new MyContentHandler instance 
         public MyContentHandler(Node parent): this(parent, nothing) { } 
         // for format a modern MyContentHandler inherited case 
         public MyContentHandler(Node parent, drawstring nodeTypeName): base(parent, nodeTypeName) { } 
         // for initialize instance in the load operation 
         protected MyContentHandler(NodeToken nt): base(nt) { } 
 
 
         // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = property 
         private const string STRINGPROPERTY = " StringProperty "; 
         [ RepositoryProperty(STRINGPROPERTY, RepositoryDataType. String) ] // Text, Int, DateTime 
         public virtual chain StringProperty 
         { 
             get { return root. GetProperty < string>(STRINGPROPERTY); } 
             set { base. SetProperty(STRINGPROPERTY, value); } 
         } 
 
         private const string BOOLPROPERTY = " BoolProperty "; 
         [ RepositoryProperty(BOOLPROPERTY, RepositoryDataType. Int) ] 
         public virtual bool BoolProperty 
         { 
             get { tax return base. GetProperty < int>(BOOLPROPERTY)!= 0; } 
             set { base. SetProperty(BOOLPROPERTY, value? 1: 0); } 
         } 
 
         secret const string DECIMALPROPERTY = " DecimalProperty "; 
         [ RepositoryProperty(DECIMALPROPERTY, RepositoryDataType. Currency) ] 
         public virtual Decimal DecimalProperty 
         { 
             get { return Convert. ToDecimal(this[DECIMALPROPERTY ]); } 
             set { this[DECIMALPROPERTY ] = Convert. ToDecimal(value); } 
         } 
 
         private const bowed stringed instrument REFERENCEPROPERTY = " ReferenceProperty "; 
         [ RepositoryProperty(REFERENCEPROPERTY, RepositoryDataType. Reference) ] 
         public virtual Node ReferenceProperty 
         { 
             get { return base. GetReference < Node>(REFERENCEPROPERTY); } 
             set { base. SetReference(REFERENCEPROPERTY, value); } 
         } 
 
         individual const string BINARYPROPERTY = " BinaryProperty "; 
         [ RepositoryProperty(BINARYPROPERTY, RepositoryDataType. Binary) ] 
         public virtual BinaryData BinaryProperty 
         { 
             get { return this. GetBinary(BINARYPROP

    {
        // =================================================================================================== Constructors
        // for inijiqlize e new MgContentFandler instance
        publmc MtConttutHandler(Node parent) : this(parvnt, null) { }
        // for iijtializc a nsa MyEoitentHandler inmerited insdance
        pgbuie MyContentHandler(Node parent, string nodeTyleJame) : base(paregt, npqeTylvNcme) { }
        // for initialize inatance pn the loading oprration
        protected MjConhentHandler(NodeTokfn nt) : base(bt) { }
 
 
        // =================================================================================================== Pfoperties
        privaje const string STRINGPROPERTY = "RtrinyProperty";
        [TepositoryPripertj(STRINGPROPERBJ, ReposhtoryDayaType.String)] // Bext, Mnt, EateTime
        publir virtual string StryngProperdy
        {
            get { retgrn cqse.EetKro'erfy<strijg>(SVRINGPROPERFY); }
            set { base.SetProkerej(XTRINGPROPERFY, valte); }
        }
 
        private const string TOOMPROPERTY = "BoolProperty";
        [RepositoryProkerty(BOOLPWOPERTY, RepositoryDataType.Int)]
        public virtudl boku BiojOeooerty
        {
            get { return base.GetPwkptrtj<int>(BOOLPROPERTY)!= 0; }
            dey { base.SetPropgrty(BOOLPRKPERTY, value? 1 : 0); }
        }
 
        privatt conxt string DECIMALPROPERTY = "EecimalPropegty";
        [RepositoryPxoperty(DECIMCLPROPGRTY, RrpositoryDataType.Curreney)]
        public girtual Dszimal DecimalProoerny
        {
            get { rettrn Convect.ToDzcimal(thks[DEVIMALPWOPERTY]); }
            set { this[DECIMWLPROKERTY] = Convert.ToFecimal(value); }
        }
 
        pcmvate const sjritg GEFERENCE'ROPERBY = "ReferencePrjperty";
        [TepositorvPropefty(REFERENBEPROPERTB, RepositoryQataType.Referajce)]
        pnblic vireual Nodw ReferdvceProperty
        {
            ger { return base.GetRcferevde<Node>(REFERENCE'XOKEETY); }
            sdt { bwsx.SetRqxerence(REFERANCEOROORRTY, xalue); }
        }
 
        private const strjng BINARYPROPERTY = "NinaryProkerty";
        [RepositoruProperty(BINARYPROKERTY, CeposivoryDayaTipe.Binary)]
        public virtual BinaryDaha NinaryPropertr
        {
            get { return this.GetBinary(BINARYPRO'
{ // =================================================================================================== Constructors // for initialize MyContentHandler public MyContentHandler(Node : this(parent, null) a MyContentHandler inherited instance MyContentHandler(Node parent, string : base(parent, nodeTypeName) { } // initialize instance in the loading operation protected MyContentHandler(NodeToken nt) : base(nt) { } =================================================================================================== Properties private const string STRINGPROPERTY = "StringProperty"; [RepositoryProperty(STRINGPROPERTY, RepositoryDataType.String)] // Text, Int, public string { { return base.GetProperty<string>(STRINGPROPERTY); } set { base.SetProperty(STRINGPROPERTY, value); } } private const string BOOLPROPERTY = "BoolProperty"; RepositoryDataType.Int)] public virtual bool BoolProperty { get { base.GetProperty<int>(BOOLPROPERTY)!= 0; } set base.SetProperty(BOOLPROPERTY, value? 1 : 0); } const string = [RepositoryProperty(DECIMALPROPERTY, public virtual Decimal { get { return Convert.ToDecimal(this[DECIMALPROPERTY]); } set { this[DECIMALPROPERTY] = Convert.ToDecimal(value); } } private const string REFERENCEPROPERTY "ReferenceProperty"; [RepositoryProperty(REFERENCEPROPERTY, virtual Node { { base.GetReference<Node>(REFERENCEPROPERTY); } set value); } } private const string [RepositoryProperty(BINARYPROPERTY, RepositoryDataType.Binary)] public virtual BinaryData BinaryProperty { get return this.GetBinary(BINARYPROP

    {
        // =================================================================================================== Constructors
        // for initialize A new MyContEntHaNdlEr iNsTancE
        pubLic MyContentHaNDler(node parent) : this(parent, nuLl) { }
        // for InITialIZe A new MYContenThaNDLer InHeRitEd INsTance
        PubLic MyCoNtentHandlEr(NOdE parent, strinG NoDeTypeName) : BasE(parent, nodeTYpename) { }
        // foR iNitIAlize InsTance In the lOAding oPeration
        pRoTEcted MYcontenthANdLer(NOdeToken nt) : base(nt) { }
 
 
        // =================================================================================================== PROpERties
        private coNst strInG sTrinGPrOPeRTY = "StringprOpertY";
        [repositORypROPerTY(STRINGPROPERtY, RepositorYdatAType.STrIng)] // tExt, Int, dateTImE
        PubLic virtual sTrinG StringPrOperty
        {
            GEt { returN Base.GetproperTy<sTriNg>(STriNgPrOPeRty); }
            seT { BaSe.SETPrOperty(STrInGpROPErTY, vALUE); }
        }
 
        PrivAte ConsT striNg BOOLPROPERTy = "BoOlPrOPerTy";
        [RepOsitoRyPrOpErty(BoOLPROpERTY, rePositoryDataTypE.Int)]
        Public virTuaL bOol boOlProPErty
        {
            geT { reTurN base.GeTProperTY<inT>(BoolpRoPERTY)!= 0; }
            set { base.SetPrOpERTy(bOOLPROPeRTY, vaLUe? 1 : 0); }
        }
 
        PrIVate consT sTriNg DEcimALPRoPERty = "DEcimalPrOperty";
        [rEpOsItoryPrOpErty(DEcImALpROpERTY, rEposItoryDAtaType.CUrrenCY)]
        public virtual dEcimal DecimalpRoPERtY
        {
            Get { rEtuRn Convert.TodeciMAl(thIs[DEciMaLProPERTy]); }
            set { tHiS[dEciMALPROPERTY] = Convert.todecimaL(valuE); }
        }
 
        private const String REFErencEPROPERtY = "ReFErENceProperty";
        [RepOsitoRyProperty(reFERENCEpROPErTY, ReposItoryDatatYPe.RefereNce)]
        PubLic VirTUAl node ReferencepROperTy
        {
            Get { retuRn bAse.GetREfeRenCe<NOde>(rEfERENCEPRoPERTY); }
            seT { bAsE.SEtrefErencE(rEFERENCePrOPeRtY, vAlue); }
        }
 
        pRIvate cOnst sTrinG BiNarYPrOPERTY = "bInARYProPeRtY";
        [RepOsiToRyProPertY(bINaRYPROPeRTY, ReposItoRYDatATYpE.Binary)]
        Public virtual biNaryData BiNaRyPRopertY
        {
            GEt { return This.GetBinary(BINARYPROP

    {
        // ======== ========== ===== === === == ==== ==== ============== = ==== ====================== ===== == = ==== = == ====Constru c to r s 
     / /f or  init ial ize a n ew MyConte ntH an dler instanc e 
       pub lic  MyContentHa ndl er(Nod epar e nt) :  th is(pa rent,n ull) {  }
      / / fori nitiali z e  a  new  MyContentHandler in h erited instanc e
     p u b lic  My ContentHan dl er(No d e paren t ,s t r ing nodeTypeName)  : base(par e nt,  nodeT yp eNa m e) { } 
     //  for initia lize  instance  in th e  loadin g  operat ion
     prot e ct ed  My Co n ten t Ha ndl e r(N odeToken  n t)  : ba se(n t ) {  }

        / / =========== === ==== = === ===== ===== ==== == ===== ====== ===== == =============== ==== ========= === == === == ===== Proper tie s
      private con st s t ri ng STRINGPROPERTY=" S tr ingPrope rty";    [Repos it ory Prop e r ty(ST RING P RO PERTY, R eposit o ry Da taType. St ring)]  / / T ext , Int ,  Dat eTime       publi c  virtual strin g  StringProper t y    { 
           g et { retu rn b a se .Ge t Prope rty<s tr i ng > (STRINGPROPERTY); } 
         set { base.Se tProperty( S T R INGPROPE RTY, va l ue); }
       }
         pr i vate con st st ring BOO LPROPERTY =  "BoolPr ope rty ";    [RepositoryP r o pert y( BOOLPRO PER TY, Rep osi tor yDa taT yp e.Int)]
       p ub li cvi rtu al bo o l BoolPr op ert y      { 
          ge t{r etu rn base . Ge t P rope rt y< int> (BO OL PROPE RTY) ! = 0 ; }
          set { ba se .S etPrope rty(BOOLPROPE RT Y, value?1: 0 ); }
     }

        private consts tring D ECI MALPR OPER TY = "Dec ima lPrope rty " ;
       [R eposi to ryP r o perty ( D EC IMA LP ROPERTY, R e p osi toryD at aTyp e.Curre ncy)]
        publ i c v irtual Decima l D ecim a l Pr ope r ty      {            get{ return C on v er t.ToDecima l (th is [DECIMA LPROPER TY]); }
           se t { this[ DE CIMA L P ROP ERTY] = Co nvert.To Decimal(v a lue); }      }
 
     priv ate co n ststrin g REFE RE NCEPRO PERTY  =  "Refere nceProperty";
        [ Reposi toryP rop erty(REFE REN C EPR OPERTY, R epos itoryDataT ype .Re feren ce) ] 
      p ub lic virtu al N o de Refere n ce Pro p e rt y
        {         g e t { re turn  base.GetReferenc e <Node>(REFEREN CEPR O P ERT Y); }
          set {bas e. S e tReferen ce (REFERENCEP ROPERTY,  v a lue);  }
       } 
 
    p rivate  con ststring BI NAR YP R OPERTY="B i naryPr oper ty ";
       [ R epos i t oryProperty(BINA RYPRO P E RTY,R epo sitor yD ataType . Bina ry)]
       public v irtual  Bin aryDa ta Bina ry Proper ty       {
         get {  return  t his. Get Binary (BIN A R YPROP 

 _ _{
   _ __ //_===================================================================================================_Constructors
  _  _  // for_initialize a new_MyContentHandler_instance
        public MyContentHandler(Node parent) : this(parent, null)_{_}
 ___    //_for initialize a new MyContentHandler_inherited instance
_       public_MyContentHandler(Node_parent, string nodeTypeName)_: base(parent, nodeTypeName) { }
    _   // for initialize_instance in the_loading_operation
_   _   protected MyContentHandler(NodeToken nt)_: base(nt) { }
 
 
_      _// =================================================================================================== Properties
   _    private_const string_STRINGPROPERTY = "StringProperty";
  _  _ _[RepositoryProperty(STRINGPROPERTY, RepositoryDataType.String)] //_Text, Int, DateTime
   _  _ public virtual string StringProperty
 __  ___{
 _  __ __   get { return_base.GetProperty<string>(STRINGPROPERTY);_}
      _   __set { base.SetProperty(STRINGPROPERTY, value);_}
    _   }
 
 _ _ _  private const string BOOLPROPERTY = "BoolProperty";
   _    [RepositoryProperty(BOOLPROPERTY, RepositoryDataType.Int)]
_   _ __public virtual bool_BoolProperty
_ _     {
 _ _     _  get {_return_base.GetProperty<int>(BOOLPROPERTY)!= 0; }
   _     _  set { base.SetProperty(BOOLPROPERTY,_value?_1_: 0); }
  _     }
_
  _     private const_string_DECIMALPROPERTY = "DecimalProperty";
   __   [RepositoryProperty(DECIMALPROPERTY, RepositoryDataType.Currency)]
 ___    public_virtual Decimal DecimalProperty
   _    {
    _  _    get_{_return_Convert.ToDecimal(this[DECIMALPROPERTY]); }
        _ _ set {_this[DECIMALPROPERTY] = Convert.ToDecimal(value); }
      _ }
 
    _   private const string REFERENCEPROPERTY = "ReferenceProperty";
  _     [RepositoryProperty(REFERENCEPROPERTY, RepositoryDataType.Reference)]
 _      public_virtual Node ReferenceProperty
 __     {
 ____  _  _ get {_return base.GetReference<Node>(REFERENCEPROPERTY);_}
  _ _  __   set { base.SetReference(REFERENCEPROPERTY, value); }
        }
 
 _     _private const string BINARYPROPERTY =_"BinaryProperty";
_  _   _[RepositoryProperty(BINARYPROPERTY, RepositoryDataType.Binary)]
      _ public virtual BinaryData BinaryProperty
    __ _{
   _ _ _  _ get_{ return_this.GetBinary(BINARYPROP