/// <summary> /// Create a new RelatedName object. /// </summary> /// <param name="seed">Initial value of the Seed property.</param> /// <param name="result">Initial value of the Result property.</param> /// <param name="weight">Initial value of the Weight property.</param> /// <param name="resultSum">Initial value of the ResultSum property.</param> /// <param name="resultCount">Initial value of the ResultCount property.</param> public static RelatedName CreateRelatedName(global::System.String seed, global::System.String result, global::System.Int32 weight, global::System.Int32 resultSum, global::System.Int32 resultCount) { RelatedName relatedName = new RelatedName(); relatedName.Seed = seed; relatedName.Result = result; relatedName.Weight = weight; relatedName.ResultSum = resultSum; relatedName.ResultCount = resultCount; return(relatedName); }
/// <summary> /// Create a new RelatedName object. /// </summary> /// <param name="seed">Initial value of the Seed property.</param> /// <param name="result">Initial value of the Result property.</param> /// <param name="weight">Initial value of the Weight property.</param> /// <param name="resultSum">Initial value of the ResultSum property.</param> /// <param name="resultCount">Initial value of the ResultCount property.</param> public static RelatedName CreateRelatedName(global::System.String seed, global::System.String result, global::System.Int32 weight, global::System.Int32 resultSum, global::System.Int32 resultCount) { RelatedName relatedName = new RelatedName(); relatedName.Seed = seed; relatedName.Result = result; relatedName.Weight = weight; relatedName.ResultSum = resultSum; relatedName.ResultCount = resultCount; return relatedName; }
/// <summary> /// Deprecated Method for adding a new object to the RelatedNames EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRelatedNames(RelatedName relatedName) { base.AddObject("RelatedNames", relatedName); }