/// <summary> /// Create a new location object. /// </summary> /// <param name="locationPKey">Initial value of the LocationPKey property.</param> /// <param name="name">Initial value of the Name property.</param> public static location Createlocation(global::System.Int64 locationPKey, global::System.String name) { location location = new location(); location.LocationPKey = locationPKey; location.Name = name; return location; }
/// <summary> /// Deprecated Method for adding a new object to the locations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTolocations(location location) { base.AddObject("locations", location); }