public Schema() : base() { InstanceType = typeof(__GeoPageP__); ClassName = "GeoPagePosition"; Properties.ClearExposed(); Latitude = Add <__TDouble__>("Latitude$"); Latitude.DefaultValue = 0d; Latitude.Editable = true; Latitude.SetCustomAccessors((_p_) => { return(((__GeoPageP__)_p_).__bf__Latitude__); }, (_p_, _v_) => { ((__GeoPageP__)_p_).__bf__Latitude__ = (System.Double)_v_; }, false); Latitude.AddHandler((Json pup, Property <Double> prop, Double value) => { return(new Input.Latitude() { App = (GeoPagePosition)pup, Template = (TDouble)prop, Value = value }); }, (Json pup, Starcounter.Input <Double> input) => { ((GeoPagePosition)pup).Handle((Input.Latitude)input); }); Longitude = Add <__TDouble__>("Longitude$"); Longitude.DefaultValue = 0d; Longitude.Editable = true; Longitude.SetCustomAccessors((_p_) => { return(((__GeoPageP__)_p_).__bf__Longitude__); }, (_p_, _v_) => { ((__GeoPageP__)_p_).__bf__Longitude__ = (System.Double)_v_; }, false); Longitude.AddHandler((Json pup, Property <Double> prop, Double value) => { return(new Input.Longitude() { App = (GeoPagePosition)pup, Template = (TDouble)prop, Value = value }); }, (Json pup, Starcounter.Input <Double> input) => { ((GeoPagePosition)pup).Handle((Input.Longitude)input); }); Reset = Add <__TLong__>("Reset$"); Reset.DefaultValue = 0L; Reset.Editable = true; Reset.SetCustomAccessors((_p_) => { return(((__GeoPageP__)_p_).__bf__Reset__); }, (_p_, _v_) => { ((__GeoPageP__)_p_).__bf__Reset__ = (System.Int64)_v_; }, false); Reset.AddHandler((Json pup, Property <Int64> prop, Int64 value) => { return(new Input.Reset() { App = (GeoPagePosition)pup, Template = (TLong)prop, Value = value }); }, (Json pup, Starcounter.Input <Int64> input) => { ((GeoPagePosition)pup).Handle((Input.Reset)input); }); }