/// <summary> /// Deprecated Method for adding a new object to the LocationTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLocationTypes(LocationType locationType) { base.AddObject("LocationTypes", locationType); }
/// <summary> /// Create a new LocationType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static LocationType CreateLocationType(global::System.Int32 id) { LocationType locationType = new LocationType(); locationType.Id = id; return locationType; }