/// <summary> /// Create a new EvictionNotice object. /// </summary> /// <param name="evictionNoticeId">Initial value of the EvictionNoticeId property.</param> /// <param name="state">Initial value of the State property.</param> /// <param name="text">Initial value of the Text property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static EvictionNotice CreateEvictionNotice(global::System.Int32 evictionNoticeId, global::System.String state, global::System.String text, global::System.Boolean isDeleted) { EvictionNotice evictionNotice = new EvictionNotice(); evictionNotice.EvictionNoticeId = evictionNoticeId; evictionNotice.State = state; evictionNotice.Text = text; evictionNotice.IsDeleted = isDeleted; return evictionNotice; }
/// <summary> /// Deprecated Method for adding a new object to the EvictionNotices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEvictionNotices(EvictionNotice evictionNotice) { base.AddObject("EvictionNotices", evictionNotice); }