/// <summary> /// Deprecated Method for adding a new object to the LocationViews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLocationViews(LocationView locationView) { base.AddObject("LocationViews", locationView); }
/// <summary> /// Create a new LocationView object. /// </summary> /// <param name="locationId">Initial value of the LocationId property.</param> /// <param name="locationFolderID">Initial value of the LocationFolderID property.</param> /// <param name="identifier">Initial value of the Identifier property.</param> /// <param name="locationName">Initial value of the LocationName property.</param> public static LocationView CreateLocationView(global::System.Decimal locationId, global::System.Decimal locationFolderID, global::System.String identifier, global::System.String locationName) { LocationView locationView = new LocationView(); locationView.LocationId = locationId; locationView.LocationFolderID = locationFolderID; locationView.Identifier = identifier; locationView.LocationName = locationName; return locationView; }