Пример #1
0
 /// <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;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EvictionNotices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEvictionNotices(EvictionNotice evictionNotice)
 {
     base.AddObject("EvictionNotices", evictionNotice);
 }