/// <summary> /// Deprecated Method for adding a new object to the Wards EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWards(WARD wARD) { base.AddObject("Wards", wARD); }
/// <summary> /// Create a new WARD object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="nAME">Initial value of the NAME property.</param> /// <param name="nUMBER">Initial value of the NUMBER property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdByDate">Initial value of the CreatedByDate property.</param> /// <param name="updatedBy">Initial value of the UpdatedBy property.</param> /// <param name="updatedByDate">Initial value of the UpdatedByDate property.</param> public static WARD CreateWARD(global::System.Guid id, global::System.String nAME, global::System.Int32 nUMBER, global::System.String createdBy, global::System.String createdByDate, global::System.String updatedBy, global::System.String updatedByDate) { WARD wARD = new WARD(); wARD.Id = id; wARD.NAME = nAME; wARD.NUMBER = nUMBER; wARD.CreatedBy = createdBy; wARD.CreatedByDate = createdByDate; wARD.UpdatedBy = updatedBy; wARD.UpdatedByDate = updatedByDate; return wARD; }