public Schema() : base() { InstanceType = typeof(__Coporati__); Properties.ClearExposed(); Html = Add <__TString__>("Html"); Html.DefaultValue = "/Usama/CoporationJson.html"; Html.SetCustomAccessors((_p_) => { return(((__Coporati__)_p_).__bf__Html__); }, (_p_, _v_) => { ((__Coporati__)_p_).__bf__Html__ = (System.String)_v_; }, false); Name = Add <__TString__>("Name$"); Name.DefaultValue = ""; Name.Editable = true; Name.SetCustomAccessors((_p_) => { return(((__Coporati__)_p_).__bf__Name__); }, (_p_, _v_) => { ((__Coporati__)_p_).__bf__Name__ = (System.String)_v_; }, false); Save = Add <__TLong__>("Save$"); Save.DefaultValue = 0L; Save.Editable = true; Save.SetCustomAccessors((_p_) => { return(((__Coporati__)_p_).__bf__Save__); }, (_p_, _v_) => { ((__Coporati__)_p_).__bf__Save__ = (System.Int64)_v_; }, false); Save.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.Save() { App = (Coporation)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((Coporation)pup).Handle((Input.Save)input); }); Add = Add <__TLong__>("Add$"); Add.DefaultValue = 0L; Add.Editable = true; Add.SetCustomAccessors((_p_) => { return(((__Coporati__)_p_).__bf__Add__); }, (_p_, _v_) => { ((__Coporati__)_p_).__bf__Add__ = (System.Int64)_v_; }, false); }
public Schema() : base() { InstanceType = typeof(__Breadcru8__); ClassName = "BreadcrumbPageCurrentTreeItem"; Properties.ClearExposed(); Name = Add <__TString__>("Name$"); Name.DefaultValue = ""; Name.Editable = true; Name.SetCustomAccessors((_p_) => { return(((__Breadcru8__)_p_).__bf__Name__); }, (_p_, _v_) => { ((__Breadcru8__)_p_).__bf__Name__ = (System.String)_v_; }, false); IsAdd = Add <__TBool__>("IsAdd"); IsAdd.DefaultValue = false; IsAdd.SetCustomAccessors((_p_) => { return(((__Breadcru8__)_p_).__bf__IsAdd__); }, (_p_, _v_) => { ((__Breadcru8__)_p_).__bf__IsAdd__ = (System.Boolean)_v_; }, false); ParentName = Add <__TString__>("ParentName"); ParentName.DefaultValue = ""; ParentName.SetCustomAccessors((_p_) => { return(((__Breadcru8__)_p_).__bf__ParentName__); }, (_p_, _v_) => { ((__Breadcru8__)_p_).__bf__ParentName__ = (System.String)_v_; }, false); Save = Add <__TLong__>("Save$"); Save.DefaultValue = 0L; Save.Editable = true; Save.SetCustomAccessors((_p_) => { return(((__Breadcru8__)_p_).__bf__Save__); }, (_p_, _v_) => { ((__Breadcru8__)_p_).__bf__Save__ = (System.Int64)_v_; }, false); Save.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.Save() { App = (BreadcrumbPageCurrentTreeItem)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((BreadcrumbPageCurrentTreeItem)pup).Handle((Input.Save)input); }); }
public Schema() : base() { InstanceType = typeof(__Franchis__); Properties.ClearExposed(); Html = Add <__TString__>("Html"); Html.DefaultValue = "/Usama/FranchiseBussines.html"; Html.SetCustomAccessors((_p_) => { return(((__Franchis__)_p_).__bf__Html__); }, (_p_, _v_) => { ((__Franchis__)_p_).__bf__Html__ = (System.String)_v_; }, false); franchise = Add <__FfrSchema__>("franchise", bind: "franchise"); franchise.SetCustomAccessors((_p_) => { return(((__Franchis__)_p_).__bf__franchise__); }, (_p_, _v_) => { ((__Franchis__)_p_).__bf__franchise__ = (__Frfranchis__)_v_; }, false); Save = Add <__TLong__>("Save$"); Save.DefaultValue = 0L; Save.Editable = true; Save.SetCustomAccessors((_p_) => { return(((__Franchis__)_p_).__bf__Save__); }, (_p_, _v_) => { ((__Franchis__)_p_).__bf__Save__ = (System.Int64)_v_; }, false); Save.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.Save() { App = (FranchiseDetailVM)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((FranchiseDetailVM)pup).Handle((Input.Save)input); }); Accounts = Add <__FAcSchema__>("Accounts", bind: "Accounts"); Accounts.SetCustomAccessors((_p_) => { return(((__Franchis__)_p_).__bf__Accounts__); }, (_p_, _v_) => { ((__Franchis__)_p_).__bf__Accounts__ = (__FrAccounts__)_v_; }, false); Registor = Add <__TLong__>("Registor$"); Registor.DefaultValue = 0L; Registor.Editable = true; Registor.SetCustomAccessors((_p_) => { return(((__Franchis__)_p_).__bf__Registor__); }, (_p_, _v_) => { ((__Franchis__)_p_).__bf__Registor__ = (System.Int64)_v_; }, false); Registor.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.Registor() { App = (FranchiseDetailVM)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((FranchiseDetailVM)pup).Handle((Input.Registor)input); }); AccountsList = Add <__TArray__>("AccountsList"); AccountsList.SetCustomAccessors((_p_) => { return(((__Franchis__)_p_).__bf__AccountsList__); }, (_p_, _v_) => { ((__Franchis__)_p_).__bf__AccountsList__ = (__Arr__)_v_; }, false); Address = Add <__TString__>("Address"); Address.DefaultValue = ""; Address.SetCustomAccessors((_p_) => { return(((__Franchis__)_p_).__bf__Address__); }, (_p_, _v_) => { ((__Franchis__)_p_).__bf__Address__ = (System.String)_v_; }, false); }
public Schema() : base() { InstanceType = typeof(__Corporat__); Properties.ClearExposed(); Html = Add <__TString__>("Html"); Html.DefaultValue = "/Usama/CoporationJson.html"; Html.SetCustomAccessors((_p_) => { return(((__Corporat__)_p_).__bf__Html__); }, (_p_, _v_) => { ((__Corporat__)_p_).__bf__Html__ = (System.String)_v_; }, false); Name = Add <__TString__>("Name"); Name.DefaultValue = ""; Name.SetCustomAccessors((_p_) => { return(((__Corporat__)_p_).__bf__Name__); }, (_p_, _v_) => { ((__Corporat__)_p_).__bf__Name__ = (System.String)_v_; }, false); Save = Add <__TLong__>("Save$"); Save.DefaultValue = 0L; Save.Editable = true; Save.SetCustomAccessors((_p_) => { return(((__Corporat__)_p_).__bf__Save__); }, (_p_, _v_) => { ((__Corporat__)_p_).__bf__Save__ = (System.Int64)_v_; }, false); Save.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.Save() { App = (CorporationVM)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((CorporationVM)pup).Handle((Input.Save)input); }); Add = Add <__TLong__>("Add$"); Add.DefaultValue = 0L; Add.Editable = true; Add.SetCustomAccessors((_p_) => { return(((__Corporat__)_p_).__bf__Add__); }, (_p_, _v_) => { ((__Corporat__)_p_).__bf__Add__ = (System.Int64)_v_; }, false); franchiseNametoAdd = Add <__TString__>("franchiseNametoAdd$"); franchiseNametoAdd.DefaultValue = ""; franchiseNametoAdd.Editable = true; franchiseNametoAdd.SetCustomAccessors((_p_) => { return(((__Corporat__)_p_).__bf__franchiseNametoAdd__); }, (_p_, _v_) => { ((__Corporat__)_p_).__bf__franchiseNametoAdd__ = (System.String)_v_; }, false); franchise = Add <__TArray__>("franchise"); franchise.SetCustomAccessors((_p_) => { return(((__Corporat__)_p_).__bf__franchise__); }, (_p_, _v_) => { ((__Corporat__)_p_).__bf__franchise__ = (__Arr__)_v_; }, false); noOfHomes = Add <__TLong__>("noOfHomes$"); noOfHomes.DefaultValue = 0L; noOfHomes.Editable = true; noOfHomes.SetCustomAccessors((_p_) => { return(((__Corporat__)_p_).__bf__noOfHomes__); }, (_p_, _v_) => { ((__Corporat__)_p_).__bf__noOfHomes__ = (System.Int64)_v_; }, false); noOfHomes.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.noOfHomes() { App = (CorporationVM)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((CorporationVM)pup).Handle((Input.noOfHomes)input); }); totalCommission = Add <__TLong__>("totalCommission$"); totalCommission.DefaultValue = 0L; totalCommission.Editable = true; totalCommission.SetCustomAccessors((_p_) => { return(((__Corporat__)_p_).__bf__totalCommission__); }, (_p_, _v_) => { ((__Corporat__)_p_).__bf__totalCommission__ = (System.Int64)_v_; }, false); totalCommission.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.totalCommission() { App = (CorporationVM)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((CorporationVM)pup).Handle((Input.totalCommission)input); }); averageCommission = Add <__TLong__>("averageCommission$"); averageCommission.DefaultValue = 0L; averageCommission.Editable = true; averageCommission.SetCustomAccessors((_p_) => { return(((__Corporat__)_p_).__bf__averageCommission__); }, (_p_, _v_) => { ((__Corporat__)_p_).__bf__averageCommission__ = (System.Int64)_v_; }, false); averageCommission.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.averageCommission() { App = (CorporationVM)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((CorporationVM)pup).Handle((Input.averageCommission)input); }); Trend = Add <__TLong__>("Trend$"); Trend.DefaultValue = 0L; Trend.Editable = true; Trend.SetCustomAccessors((_p_) => { return(((__Corporat__)_p_).__bf__Trend__); }, (_p_, _v_) => { ((__Corporat__)_p_).__bf__Trend__ = (System.Int64)_v_; }, false); Trend.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.Trend() { App = (CorporationVM)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((CorporationVM)pup).Handle((Input.Trend)input); }); }