/// <summary> /// Create a new LocationView object. /// </summary> /// <param name="idLocation">Initial value of the idLocation property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="idMunicipality">Initial value of the idMunicipality property.</param> public static LocationView CreateLocationView(global::System.Int32 idLocation, global::System.String name, global::System.Int32 idMunicipality) { LocationView locationView = new LocationView(); locationView.idLocation = idLocation; locationView.Name = name; locationView.idMunicipality = idMunicipality; return locationView; }
/// <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); }