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