Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Locations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLocations(Location location)
 {
     base.AddObject("Locations", location);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new Location object.
 /// </summary>
 /// <param name="locId">Initial value of the LocId property.</param>
 /// <param name="triadLocId">Initial value of the TriadLocId property.</param>
 /// <param name="owningLocId">Initial value of the OwningLocId property.</param>
 /// <param name="locType">Initial value of the LocType property.</param>
 /// <param name="locName">Initial value of the LocName property.</param>
 /// <param name="locDescription">Initial value of the LocDescription property.</param>
 public static Location CreateLocation(global::System.Int32 locId, global::System.String triadLocId, global::System.Int32 owningLocId, global::System.Int32 locType, global::System.String locName, global::System.String locDescription)
 {
     Location location = new Location();
     location.LocId = locId;
     location.TriadLocId = triadLocId;
     location.OwningLocId = owningLocId;
     location.LocType = locType;
     location.LocName = locName;
     location.LocDescription = locDescription;
     return location;
 }