public Schema() : base() { InstanceType = typeof(__Paginati__); ClassName = "PaginationPage"; Properties.ClearExposed(); Html = Add <__TString__>("Html"); Html.DefaultValue = "/KitchenSink/PaginationPage.html"; Html.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__Html__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__Html__ = (System.String)_v_; }, false); ChangePage = Add <__TLong__>("ChangePage$"); ChangePage.DefaultValue = 0L; ChangePage.Editable = true; ChangePage.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__ChangePage__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__ChangePage__ = (System.Int64)_v_; }, false); ChangePage.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.ChangePage() { App = (PaginationPage)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((PaginationPage)pup).Handle((Input.ChangePage)input); }); NextPage = Add <__TLong__>("NextPage$"); NextPage.DefaultValue = 0L; NextPage.Editable = true; NextPage.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__NextPage__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__NextPage__ = (System.Int64)_v_; }, false); NextPage.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.NextPage() { App = (PaginationPage)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((PaginationPage)pup).Handle((Input.NextPage)input); }); PreviousPage = Add <__TLong__>("PreviousPage$"); PreviousPage.DefaultValue = 0L; PreviousPage.Editable = true; PreviousPage.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__PreviousPage__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__PreviousPage__ = (System.Int64)_v_; }, false); PreviousPage.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.PreviousPage() { App = (PaginationPage)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((PaginationPage)pup).Handle((Input.PreviousPage)input); }); LastPage = Add <__TLong__>("LastPage$"); LastPage.DefaultValue = 0L; LastPage.Editable = true; LastPage.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__LastPage__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__LastPage__ = (System.Int64)_v_; }, false); LastPage.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.LastPage() { App = (PaginationPage)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((PaginationPage)pup).Handle((Input.LastPage)input); }); FirstPage = Add <__TLong__>("FirstPage$"); FirstPage.DefaultValue = 0L; FirstPage.Editable = true; FirstPage.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__FirstPage__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__FirstPage__ = (System.Int64)_v_; }, false); FirstPage.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.FirstPage() { App = (PaginationPage)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((PaginationPage)pup).Handle((Input.FirstPage)input); }); Library = Add <__TArray__>("Library"); Library.SetCustomGetElementType((arr) => { return(__PaLibraryE__.DefaultTemplate); }); Library.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__Library__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__Library__ = (__Arr__)_v_; }, false); EntriesPerPage = Add <__TLong__>("EntriesPerPage$"); EntriesPerPage.DefaultValue = 5L; EntriesPerPage.Editable = true; EntriesPerPage.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__EntriesPerPage__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__EntriesPerPage__ = (System.Int64)_v_; }, false); EntriesPerPage.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.EntriesPerPage() { App = (PaginationPage)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((PaginationPage)pup).Handle((Input.EntriesPerPage)input); }); PageEntries = Add <__TArray1__>("PageEntries"); PageEntries.SetCustomGetElementType((arr) => { return(__PaPageEntr__.DefaultTemplate); }); PageEntries.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__PageEntries__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__PageEntries__ = (__Arr1__)_v_; }, false); Pages = Add <__TArray2__>("Pages"); Pages.SetCustomGetElementType((arr) => { return(__PaPagesEle__.DefaultTemplate); }); Pages.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__Pages__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__Pages__ = (__Arr2__)_v_; }, false); TotalEntries = Add <__TLong__>("TotalEntries"); TotalEntries.DefaultValue = 0L; TotalEntries.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__TotalEntries__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__TotalEntries__ = (System.Int64)_v_; }, false); TotalPages = Add <__TLong__>("TotalPages"); TotalPages.DefaultValue = 0L; TotalPages.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__TotalPages__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__TotalPages__ = (System.Int64)_v_; }, false); CurrentPage = Add <__TLong__>("CurrentPage"); CurrentPage.DefaultValue = 1L; CurrentPage.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__CurrentPage__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__CurrentPage__ = (System.Int64)_v_; }, false); CurrentOffset = Add <__TLong__>("CurrentOffset"); CurrentOffset.DefaultValue = 0L; CurrentOffset.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__CurrentOffset__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__CurrentOffset__ = (System.Int64)_v_; }, false); DisableFirst = Add <__TBool__>("DisableFirst"); DisableFirst.DefaultValue = true; DisableFirst.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__DisableFirst__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__DisableFirst__ = (System.Boolean)_v_; }, false); DisableLast = Add <__TBool__>("DisableLast"); DisableLast.DefaultValue = false; DisableLast.SetCustomAccessors((_p_) => { return(((__Paginati__)_p_).__bf__DisableLast__); }, (_p_, _v_) => { ((__Paginati__)_p_).__bf__DisableLast__ = (System.Boolean)_v_; }, false); }