예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Kontakt EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKontakt(Kontakt kontakt)
 {
     base.AddObject("Kontakt", kontakt);
 }
예제 #2
0
 /// <summary>
 /// Create a new Kontakt object.
 /// </summary>
 /// <param name="bondeID">Initial value of the bondeID property.</param>
 /// <param name="kommuneID">Initial value of the kommuneID property.</param>
 /// <param name="adresse">Initial value of the adresse property.</param>
 /// <param name="telefonnr">Initial value of the telefonnr property.</param>
 public static Kontakt CreateKontakt(global::System.Int32 bondeID, global::System.Int32 kommuneID, global::System.String adresse, global::System.Int32 telefonnr)
 {
     Kontakt kontakt = new Kontakt();
     kontakt.bondeID = bondeID;
     kontakt.kommuneID = kommuneID;
     kontakt.adresse = adresse;
     kontakt.telefonnr = telefonnr;
     return kontakt;
 }