/// <summary> /// Create a new LandlordAlert object. /// </summary> /// <param name="alertId">Initial value of the AlertId property.</param> /// <param name="landlordId">Initial value of the LandlordId property.</param> /// <param name="createDateUtc">Initial value of the CreateDateUtc property.</param> /// <param name="isRead">Initial value of the IsRead property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static LandlordAlert CreateLandlordAlert(global::System.Int64 alertId, global::System.Guid landlordId, global::System.DateTime createDateUtc, global::System.Boolean isRead, global::System.Boolean isDeleted) { LandlordAlert landlordAlert = new LandlordAlert(); landlordAlert.AlertId = alertId; landlordAlert.LandlordId = landlordId; landlordAlert.CreateDateUtc = createDateUtc; landlordAlert.IsRead = isRead; landlordAlert.IsDeleted = isDeleted; return landlordAlert; }
/// <summary> /// Deprecated Method for adding a new object to the LandlordAlerts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLandlordAlerts(LandlordAlert landlordAlert) { base.AddObject("LandlordAlerts", landlordAlert); }