Exemplo 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);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Location object.
 /// </summary>
 /// <param name="locationID">Initial value of the LocationID property.</param>
 /// <param name="locationFolderID">Initial value of the LocationFolderID property.</param>
 /// <param name="lastModified">Initial value of the LastModified property.</param>
 /// <param name="locationName">Initial value of the LocationName property.</param>
 /// <param name="identifier">Initial value of the Identifier property.</param>
 /// <param name="uTCOffset">Initial value of the UTCOffset property.</param>
 public static Location CreateLocation(global::System.Decimal locationID, global::System.Decimal locationFolderID, global::System.DateTime lastModified, global::System.String locationName, global::System.String identifier, global::System.Double uTCOffset)
 {
     Location location = new Location();
     location.LocationID = locationID;
     location.LocationFolderID = locationFolderID;
     location.LastModified = lastModified;
     location.LocationName = locationName;
     location.Identifier = identifier;
     location.UTCOffset = uTCOffset;
     return location;
 }