public Schema()
     : base() {
     InstanceType = typeof(__Frtransact__);
     Properties.ClearExposed();
     City = Add<__TString__>("City$");
     City.DefaultValue = "";
     City.Editable = true;
     City.SetCustomAccessors((_p_) => { return ((__Frtransact__)_p_).__bf__City__; }, (_p_, _v_) => { ((__Frtransact__)_p_).__bf__City__ = (System.String)_v_; }, false);
     Country = Add<__TString__>("Country$");
     Country.DefaultValue = "";
     Country.Editable = true;
     Country.SetCustomAccessors((_p_) => { return ((__Frtransact__)_p_).__bf__Country__; }, (_p_, _v_) => { ((__Frtransact__)_p_).__bf__Country__ = (System.String)_v_; }, false);
     Name = Add<__TString__>("Name$");
     Name.DefaultValue = "";
     Name.Editable = true;
     Name.SetCustomAccessors((_p_) => { return ((__Frtransact__)_p_).__bf__Name__; }, (_p_, _v_) => { ((__Frtransact__)_p_).__bf__Name__ = (System.String)_v_; }, false);
     Number = Add<__TString__>("Number$");
     Number.DefaultValue = "";
     Number.Editable = true;
     Number.SetCustomAccessors((_p_) => { return ((__Frtransact__)_p_).__bf__Number__; }, (_p_, _v_) => { ((__Frtransact__)_p_).__bf__Number__ = (System.String)_v_; }, false);
     Street = Add<__TString__>("Street$");
     Street.DefaultValue = "";
     Street.Editable = true;
     Street.SetCustomAccessors((_p_) => { return ((__Frtransact__)_p_).__bf__Street__; }, (_p_, _v_) => { ((__Frtransact__)_p_).__bf__Street__ = (System.String)_v_; }, false);
     ZipCode = Add<__TString__>("ZipCode$");
     ZipCode.DefaultValue = "";
     ZipCode.Editable = true;
     ZipCode.SetCustomAccessors((_p_) => { return ((__Frtransact__)_p_).__bf__ZipCode__; }, (_p_, _v_) => { ((__Frtransact__)_p_).__bf__ZipCode__ = (System.String)_v_; }, false);
     Date = Add<__TString__>("Date$");
     Date.DefaultValue = "";
     Date.Editable = true;
     Date.SetCustomAccessors((_p_) => { return ((__Frtransact__)_p_).__bf__Date__; }, (_p_, _v_) => { ((__Frtransact__)_p_).__bf__Date__ = (System.String)_v_; }, false);
     SalesPrice = Add<__TLong__>("SalesPrice$");
     SalesPrice.DefaultValue = 0L;
     SalesPrice.Editable = true;
     SalesPrice.SetCustomAccessors((_p_) => { return ((__Frtransact__)_p_).__bf__SalesPrice__; }, (_p_, _v_) => { ((__Frtransact__)_p_).__bf__SalesPrice__ = (System.Int64)_v_; }, false);
     Commission = Add<__TLong__>("Commission$");
     Commission.DefaultValue = 0L;
     Commission.Editable = true;
     Commission.SetCustomAccessors((_p_) => { return ((__Frtransact__)_p_).__bf__Commission__; }, (_p_, _v_) => { ((__Frtransact__)_p_).__bf__Commission__ = (System.Int64)_v_; }, false);
     Address = Add<__TString__>("Address");
     Address.DefaultValue = "";
     Address.SetCustomAccessors((_p_) => { return ((__Frtransact__)_p_).__bf__Address__; }, (_p_, _v_) => { ((__Frtransact__)_p_).__bf__Address__ = (System.String)_v_; }, false);
 }
示例#2
0
 public Schema()
     : base()
 {
     InstanceType = typeof(__Transact__);
     Properties.ClearExposed();
     Html = Add <__TString__>("Html");
     Html.DefaultValue = "/Ahsan/FranchiseDetail/TransactionDetailJson.html";
     Html.SetCustomAccessors((_p_) => { return(((__Transact__)_p_).__bf__Html__); }, (_p_, _v_) => { ((__Transact__)_p_).__bf__Html__ = (System.String)_v_; }, false);
     Date = Add <__TString__>("Date");
     Date.DefaultValue = "";
     Date.SetCustomAccessors((_p_) => { return(((__Transact__)_p_).__bf__Date__); }, (_p_, _v_) => { ((__Transact__)_p_).__bf__Date__ = (System.String)_v_; }, false);
     SalesPrice = Add <__TLong__>("SalesPrice");
     SalesPrice.DefaultValue = 0L;
     SalesPrice.SetCustomAccessors((_p_) => { return(((__Transact__)_p_).__bf__SalesPrice__); }, (_p_, _v_) => { ((__Transact__)_p_).__bf__SalesPrice__ = (System.Int64)_v_; }, false);
     Commission = Add <__TLong__>("Commission");
     Commission.DefaultValue = 0L;
     Commission.SetCustomAccessors((_p_) => { return(((__Transact__)_p_).__bf__Commission__); }, (_p_, _v_) => { ((__Transact__)_p_).__bf__Commission__ = (System.Int64)_v_; }, false);
     Address = Add <__TString__>("Address");
     Address.DefaultValue = "";
     Address.SetCustomAccessors((_p_) => { return(((__Transact__)_p_).__bf__Address__); }, (_p_, _v_) => { ((__Transact__)_p_).__bf__Address__ = (System.String)_v_; }, false);
 }
 public Schema()
     : base()
 {
     InstanceType = typeof(__Transact__);
     Properties.ClearExposed();
     Html = Add <__TString__>("Html");
     Html.DefaultValue = "/Muhammad/TransactionJson.html";
     Html.SetCustomAccessors((_p_) => { return(((__Transact__)_p_).__bf__Html__); }, (_p_, _v_) => { ((__Transact__)_p_).__bf__Html__ = (System.String)_v_; }, false);
     Date = Add <__TString__>("Date$");
     Date.DefaultValue = "";
     Date.Editable     = true;
     Date.SetCustomAccessors((_p_) => { return(((__Transact__)_p_).__bf__Date__); }, (_p_, _v_) => { ((__Transact__)_p_).__bf__Date__ = (System.String)_v_; }, false);
     SalesPrice = Add <__TString__>("SalesPrice$");
     SalesPrice.DefaultValue = "";
     SalesPrice.Editable     = true;
     SalesPrice.SetCustomAccessors((_p_) => { return(((__Transact__)_p_).__bf__SalesPrice__); }, (_p_, _v_) => { ((__Transact__)_p_).__bf__SalesPrice__ = (System.String)_v_; }, false);
     Commission = Add <__TString__>("Commission$");
     Commission.DefaultValue = "";
     Commission.Editable     = true;
     Commission.SetCustomAccessors((_p_) => { return(((__Transact__)_p_).__bf__Commission__); }, (_p_, _v_) => { ((__Transact__)_p_).__bf__Commission__ = (System.String)_v_; }, false);
 }