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; }
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); }
public PageParameterModel(StorePageParameter item) { CopyFrom(this, item); }