コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LanguageRelationships EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLanguageRelationships(LanguageRelationship languageRelationship)
 {
     base.AddObject("LanguageRelationships", languageRelationship);
 }
コード例 #2
0
 /// <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;
 }