/// <summary> /// Deprecated Method for adding a new object to the LanguageRelationships EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLanguageRelationships(LanguageRelationship languageRelationship) { base.AddObject("LanguageRelationships", languageRelationship); }
/// <summary> /// Create a new LanguageRelationship object. /// </summary> /// <param name="languageRelationshipID">Initial value of the LanguageRelationshipID property.</param> /// <param name="languageID">Initial value of the LanguageID property.</param> /// <param name="parentID">Initial value of the ParentID property.</param> public static LanguageRelationship CreateLanguageRelationship(global::System.Int32 languageRelationshipID, global::System.Int32 languageID, global::System.Int32 parentID) { LanguageRelationship languageRelationship = new LanguageRelationship(); languageRelationship.LanguageRelationshipID = languageRelationshipID; languageRelationship.LanguageID = languageID; languageRelationship.ParentID = parentID; return languageRelationship; }