Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Towns EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTowns(Town town)
 {
     base.AddObject("Towns", town);
 }
Пример #2
0
 /// <summary>
 /// Create a new Town object.
 /// </summary>
 /// <param name="pk_idTown">Initial value of the pk_idTown property.</param>
 /// <param name="name">Initial value of the name property.</param>
 public static Town CreateTown(global::System.Int64 pk_idTown, global::System.String name)
 {
     Town town = new Town();
     town.pk_idTown = pk_idTown;
     town.name = name;
     return town;
 }