/// <summary> /// F36035_s the list land program. /// </summary> /// <returns>The land program dataset.</returns> public static F36035LandData F36035_ListLandProgram() { F36035LandData landDetails = new F36035LandData(); Hashtable ht = new Hashtable(); Utility.LoadDataSet(landDetails.ListLandProgram, "f36035_pclst_LandProgram", ht); return(landDetails); }
/// <summary> /// F36035_s the list shape details. /// </summary> /// <returns></returns> public static F36035LandData F36035_ListShapeDetails() { F36035LandData depreciationData = new F36035LandData(); Hashtable ht = new Hashtable(); Utility.LoadDataSet(depreciationData.LandShapesTable, "f36035_pclst_LandShapes", ht); return(depreciationData); }
/// <summary> /// F36035_s the list influence type. /// </summary> /// <param name="valueSliceId">The value slice id.</param> /// <returns>The influence type dataset</returns> public static F36035LandData F36035_ListInfluenceType(int valueSliceId) { F36035LandData landDetails = new F36035LandData(); Hashtable ht = new Hashtable(); ht.Add("@ValueSliceID", valueSliceId); Utility.LoadDataSet(landDetails.ListInfluenceType, "f36035_pclst_InfluenceType", ht); return(landDetails); }
/// <summary> /// F36035_s the list land details. /// </summary> /// <param name="valueSliceId">valueSliceID</param> /// <returns>the landDetails</returns> public static F36035LandData F36035_ListLandDetails(int valueSliceId) { F36035LandData landDetails = new F36035LandData(); Hashtable ht = new Hashtable(); ht.Add("@ValueSliceID", valueSliceId); string[] tableName = new string[] { landDetails.ListLandValueSliceDetailsNew.TableName, landDetails.GetValueSliceValidTable.TableName, landDetails.GetCfgLandTypeLabel.TableName, landDetails.ListGridInfluences.TableName }; Utility.LoadDataSet(landDetails, "f36035_pcget_LandValuesSliceDetails", ht, tableName); return(landDetails); }
/// <summary> /// F36035_s the list Landcode. /// </summary> /// <param name="landCode">landCode</param> /// <param name="valueSliceId">valueSliceId</param> /// <returns>the landDetails</returns> public static F36035LandData F36035_GetLandCodeBaseValue(string landCode, int valueSliceId, int?AglandID) { F36035LandData landDetails = new F36035LandData(); Hashtable ht = new Hashtable(); ht.Add("@LandCode", landCode); ht.Add("@ValueSliceID", valueSliceId); ht.Add("@AglandID", AglandID); Utility.LoadDataSet(landDetails.Get_LandCodeBaseValue, "f36033_pcget_LandCodeBaseValue", ht); return(landDetails); }
/// <summary> /// F36035_s the get land code. /// </summary> /// <param name="rollYear">The roll year.</param> /// <param name="landType1">The land type1.</param> /// <param name="landType2">The land type2.</param> /// <param name="landType3">The land type3.</param> /// <param name="valuesliceId">The valueslice id.</param> /// <returns></returns> public static F36035LandData F36035_GetLandCode(int rollYear, int landType1, int landType2, int landType3, int valuesliceId, int?AglandID) { F36035LandData landDetails = new F36035LandData(); Hashtable ht = new Hashtable(); ht.Add("@RollYear", rollYear); ht.Add("@LandTypeID1", landType1); ht.Add("@LandTypeID2", landType2); ht.Add("@LandTypeID3", landType3); ht.Add("@ValueSliceID", valuesliceId); ht.Add("@AglandID", AglandID); Utility.LoadDataSet(landDetails.Get_LandCode, "f36033_pcget_LandCodeValue", ht); return(landDetails); }
/// <summary> /// F36035_s the get use base dollar per unit. /// </summary> /// <param name="programId">The program id.</param> /// <param name="useAdjustmentType">Type of the use adjustment.</param> /// <param name="useAdjustment">The use adjustment.</param> /// <param name="useBaseValue">The use base value.</param> /// <param name="rollYear">The roll year.</param> /// <param name="useMultiplier">The use multiplier.</param> /// <param name="units">The units.</param> /// <returns>The use base dollerper unit dataset.</returns> public static F36035LandData F36035_GetUseBaseDollarPerUnit(byte programId, byte useAdjustmentType, string useAdjustment, decimal useBaseValue, int rollYear, decimal useMultiplier, decimal units) { F36035LandData landDetails = new F36035LandData(); Hashtable ht = new Hashtable(); ht.Add("@ProgramID", programId); ht.Add("@UseAdjustmentType", useAdjustmentType); ht.Add("@UseAdjustment", useAdjustment); ht.Add("@UseBaseValue", useBaseValue); ht.Add("@RollYear", rollYear); ht.Add("@UseMultiplier", useMultiplier); ht.Add("@Units", units); Utility.LoadDataSet(landDetails.GetUseBaseDollarPerUnit, "f36035_pcget_UseBaseDollarPerUnit", ht); return(landDetails); }
/// <summary> /// F36035_s the LandTypeDetails. /// </summary> /// <param name="valueSliceId">valueSliceID</param> /// <returns>the landTypeDetails</returns> public static F36035LandData F36035_ListLandTypeDetails(int valueSliceId) { F36035LandData landTypeDetails = new F36035LandData(); Hashtable ht = new Hashtable(); ht.Add("@ValueSliceID", valueSliceId); //string[] tableName = new string[] //{ // landTypeDetails.ListLandType1.TableName, // landTypeDetails.ListLandType2.TableName, // landTypeDetails.ListLandType3.TableName, // landTypeDetails.ListLandCode.TableName , // // landTypeDetails.ListUseLandCode.TableName //}; Utility.LoadDataSet(landTypeDetails.ListLandCodeLandType, "f36035_pclst_LoadingLandValueSliceItems", ht); return(landTypeDetails); }