/// <summary> /// Create a new CategoryWeightage object. /// </summary> /// <param name="categoryID">Initial value of the CategoryID property.</param> /// <param name="positionID">Initial value of the PositionID property.</param> /// <param name="weightage">Initial value of the Weightage property.</param> public static CategoryWeightage CreateCategoryWeightage(global::System.Int32 categoryID, global::System.Int32 positionID, global::System.Double weightage) { CategoryWeightage categoryWeightage = new CategoryWeightage(); categoryWeightage.CategoryID = categoryID; categoryWeightage.PositionID = positionID; categoryWeightage.Weightage = weightage; return categoryWeightage; }
/// <summary> /// Deprecated Method for adding a new object to the CategoryWeightages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCategoryWeightages(CategoryWeightage categoryWeightage) { base.AddObject("CategoryWeightages", categoryWeightage); }