/// <summary> /// Create a new tblRegion object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="createdat">Initial value of the Createdat property.</param> /// <param name="cityId">Initial value of the CityId property.</param> /// <param name="available">Initial value of the Available property.</param> public static tblRegion CreatetblRegion(global::System.Int32 id, global::System.String name, global::System.DateTime createdat, global::System.Int32 cityId, global::System.Boolean available) { tblRegion tblRegion = new tblRegion(); tblRegion.Id = id; tblRegion.Name = name; tblRegion.Createdat = createdat; tblRegion.CityId = cityId; tblRegion.Available = available; return tblRegion; }
/// <summary> /// Deprecated Method for adding a new object to the tblRegion EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblRegion(tblRegion tblRegion) { base.AddObject("tblRegion", tblRegion); }