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