Esempio n. 1
0
 /// <summary>
 /// 创建新的 TB_S_Letter 对象。
 /// </summary>
 /// <param name="letterId">LetterId 属性的初始值。</param>
 /// <param name="letterStatus">LetterStatus 属性的初始值。</param>
 /// <param name="isDefault">IsDefault 属性的初始值。</param>
 /// <param name="createDate">CreateDate 属性的初始值。</param>
 /// <param name="modifyDate">ModifyDate 属性的初始值。</param>
 /// <param name="userId">UserId 属性的初始值。</param>
 public static TB_S_Letter CreateTB_S_Letter(global::System.Int32 letterId, global::System.Int32 letterStatus, global::System.Boolean isDefault, global::System.DateTime createDate, global::System.DateTime modifyDate, global::System.Int32 userId)
 {
     TB_S_Letter tB_S_Letter = new TB_S_Letter();
     tB_S_Letter.LetterId = letterId;
     tB_S_Letter.LetterStatus = letterStatus;
     tB_S_Letter.IsDefault = isDefault;
     tB_S_Letter.CreateDate = createDate;
     tB_S_Letter.ModifyDate = modifyDate;
     tB_S_Letter.UserId = userId;
     return tB_S_Letter;
 }
Esempio n. 2
0
 /// <summary>
 /// 用于向 TB_S_Letter EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTB_S_Letter(TB_S_Letter tB_S_Letter)
 {
     base.AddObject("TB_S_Letter", tB_S_Letter);
 }