/// <summary> /// 创建新的 ZoneAndBaseStationLink 对象。 /// </summary> /// <param name="zoneId">ZoneId 属性的初始值。</param> /// <param name="baseStationId">BaseStationId 属性的初始值。</param> /// <param name="position">Position 属性的初始值。</param> public static ZoneAndBaseStationLink CreateZoneAndBaseStationLink(global::System.String zoneId, global::System.String baseStationId, global::System.Int32 position) { ZoneAndBaseStationLink zoneAndBaseStationLink = new ZoneAndBaseStationLink(); zoneAndBaseStationLink.ZoneId = zoneId; zoneAndBaseStationLink.BaseStationId = baseStationId; zoneAndBaseStationLink.Position = position; return zoneAndBaseStationLink; }
/// <summary> /// 用于向 ZoneAndBaseStationLinks EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToZoneAndBaseStationLinks(ZoneAndBaseStationLink zoneAndBaseStationLink) { base.AddObject("ZoneAndBaseStationLinks", zoneAndBaseStationLink); }