コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Institutions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInstitutions(Institution institution)
 {
     base.AddObject("Institutions", institution);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Institution object.
 /// </summary>
 /// <param name="institutionID">Initial value of the institutionID property.</param>
 public static Institution CreateInstitution(global::System.Int32 institutionID)
 {
     Institution institution = new Institution();
     institution.institutionID = institutionID;
     return institution;
 }