예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RegionLocations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegionLocations(RegionLocation regionLocation)
 {
     base.AddObject("RegionLocations", regionLocation);
 }
예제 #2
0
 /// <summary>
 /// Create a new RegionLocation object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="regionID">Initial value of the RegionID property.</param>
 /// <param name="locationID">Initial value of the LocationID property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 /// <param name="lastUpdatedBy">Initial value of the LastUpdatedBy property.</param>
 public static RegionLocation CreateRegionLocation(global::System.Int32 id, global::System.Int32 regionID, global::System.Int32 locationID, global::System.DateTime lastUpdated, global::System.String lastUpdatedBy)
 {
     RegionLocation regionLocation = new RegionLocation();
     regionLocation.ID = id;
     regionLocation.RegionID = regionID;
     regionLocation.LocationID = locationID;
     regionLocation.LastUpdated = lastUpdated;
     regionLocation.LastUpdatedBy = lastUpdatedBy;
     return regionLocation;
 }