/// <summary> /// Deprecated Method for adding a new object to the zones EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTozones(zone zone) { base.AddObject("zones", zone); }
/// <summary> /// Create a new zone object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="regionId">Initial value of the RegionId property.</param> public static zone Createzone(global::System.Int32 id, global::System.String name, global::System.Boolean isActive, global::System.Int32 regionId) { zone zone = new zone(); zone.Id = id; zone.name = name; zone.IsActive = isActive; zone.RegionId = regionId; return zone; }