protected virtual void OnHouseSold(IFieldBuildable field) { HouseSold?.Invoke(this, new HouseSoldEventArgs() { Field = field }); }
public Schema() : base() { InstanceType = typeof(__CCoAllFranc__); Properties.ClearExposed(); FranchiseName = Add <__TString__>("FranchiseName"); FranchiseName.DefaultValue = ""; FranchiseName.SetCustomAccessors((_p_) => { return(((__CCoAllFranc__)_p_).__bf__FranchiseName__); }, (_p_, _v_) => { ((__CCoAllFranc__)_p_).__bf__FranchiseName__ = (System.String)_v_; }, false); HouseSold = Add <__TLong__>("HouseSold"); HouseSold.DefaultValue = 0L; HouseSold.SetCustomAccessors((_p_) => { return(((__CCoAllFranc__)_p_).__bf__HouseSold__); }, (_p_, _v_) => { ((__CCoAllFranc__)_p_).__bf__HouseSold__ = (System.Int64)_v_; }, false); AverageCommission = Add <__TLong__>("AverageCommission"); AverageCommission.DefaultValue = 0L; AverageCommission.SetCustomAccessors((_p_) => { return(((__CCoAllFranc__)_p_).__bf__AverageCommission__); }, (_p_, _v_) => { ((__CCoAllFranc__)_p_).__bf__AverageCommission__ = (System.Int64)_v_; }, false); TotalCommission = Add <__TLong__>("TotalCommission"); TotalCommission.DefaultValue = 0L; TotalCommission.SetCustomAccessors((_p_) => { return(((__CCoAllFranc__)_p_).__bf__TotalCommission__); }, (_p_, _v_) => { ((__CCoAllFranc__)_p_).__bf__TotalCommission__ = (System.Int64)_v_; }, false); SalesTrend = Add <__TLong__>("SalesTrend"); SalesTrend.DefaultValue = 0L; SalesTrend.SetCustomAccessors((_p_) => { return(((__CCoAllFranc__)_p_).__bf__SalesTrend__); }, (_p_, _v_) => { ((__CCoAllFranc__)_p_).__bf__SalesTrend__ = (System.Int64)_v_; }, false); EditURL = Add <__TString__>("EditURL"); EditURL.DefaultValue = ""; EditURL.SetCustomAccessors((_p_) => { return(((__CCoAllFranc__)_p_).__bf__EditURL__); }, (_p_, _v_) => { ((__CCoAllFranc__)_p_).__bf__EditURL__ = (System.String)_v_; }, false); }