Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Kommune object.
 /// </summary>
 /// <param name="kommuneID">Initial value of the kommuneID property.</param>
 /// <param name="kommunenavn">Initial value of the kommunenavn property.</param>
 /// <param name="nummer">Initial value of the nummer property.</param>
 public static Kommune CreateKommune(global::System.Int32 kommuneID, global::System.String kommunenavn, global::System.Int32 nummer)
 {
     Kommune kommune = new Kommune();
     kommune.kommuneID = kommuneID;
     kommune.kommunenavn = kommunenavn;
     kommune.nummer = nummer;
     return kommune;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Kommune EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKommune(Kommune kommune)
 {
     base.AddObject("Kommune", kommune);
 }