예제 #1
0
 public static void CopyFrom(PageParameterModel model, StorePageParameter item)
 {
     model.Name     = item.Name;
     model.DataType = item.DataType;
     model.Order    = item.Order;
     model.DatasourceQueryParameterMapping = item.DatasourceQueryParameterMapping;
     model.HeaderFormParameterMapping      = item.HeaderFormParameterMapping;
 }
예제 #2
0
        public StorePageParameter ToStore()
        {
            var src = this;
            var par = new StorePageParameter();

            par.Name     = src.Name;
            par.DataType = src.DataType;
            par.Order    = src.Order;
            par.DatasourceQueryParameterMapping = src.DatasourceQueryParameterMapping;
            par.HeaderFormParameterMapping      = src.HeaderFormParameterMapping;
            return(par);
        }
예제 #3
0
 public PageParameterModel(StorePageParameter item)
 {
     CopyFrom(this, item);
 }