/// <summary> /// Create a new PricingRecord object. /// </summary> /// <param name="pricingRecordID">Initial value of the PricingRecordID property.</param> /// <param name="productID">Initial value of the ProductID property.</param> /// <param name="iNI_Amount">Initial value of the INI_Amount property.</param> /// <param name="reg_Amount">Initial value of the Reg_Amount property.</param> /// <param name="renewal_Amount">Initial value of the Renewal_Amount property.</param> /// <param name="oneTime_Amount">Initial value of the OneTime_Amount property.</param> /// <param name="sqFtFrom">Initial value of the SqFtFrom property.</param> /// <param name="sqFtTo">Initial value of the SqFtTo property.</param> /// <param name="isMultiplier">Initial value of the IsMultiplier property.</param> /// <param name="isBaseRecord">Initial value of the IsBaseRecord property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="dateCreated">Initial value of the DateCreated property.</param> /// <param name="lastUpdatedBy">Initial value of the LastUpdatedBy property.</param> /// <param name="dateLastUpdated">Initial value of the DateLastUpdated property.</param> public static PricingRecord CreatePricingRecord(global::System.Int32 pricingRecordID, global::System.Int32 productID, global::System.Decimal iNI_Amount, global::System.Decimal reg_Amount, global::System.Decimal renewal_Amount, global::System.Decimal oneTime_Amount, global::System.Int32 sqFtFrom, global::System.Int32 sqFtTo, global::System.Boolean isMultiplier, global::System.Boolean isBaseRecord, global::System.String createdBy, global::System.DateTime dateCreated, global::System.String lastUpdatedBy, global::System.DateTime dateLastUpdated) { PricingRecord pricingRecord = new PricingRecord(); pricingRecord.PricingRecordID = pricingRecordID; pricingRecord.ProductID = productID; pricingRecord.INI_Amount = iNI_Amount; pricingRecord.Reg_Amount = reg_Amount; pricingRecord.Renewal_Amount = renewal_Amount; pricingRecord.OneTime_Amount = oneTime_Amount; pricingRecord.SqFtFrom = sqFtFrom; pricingRecord.SqFtTo = sqFtTo; pricingRecord.IsMultiplier = isMultiplier; pricingRecord.IsBaseRecord = isBaseRecord; pricingRecord.CreatedBy = createdBy; pricingRecord.DateCreated = dateCreated; pricingRecord.LastUpdatedBy = lastUpdatedBy; pricingRecord.DateLastUpdated = dateLastUpdated; return pricingRecord; }
/// <summary> /// Deprecated Method for adding a new object to the PricingRecords EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPricingRecords(PricingRecord pricingRecord) { base.AddObject("PricingRecords", pricingRecord); }