예제 #1
0
파일: TopU.Designer.cs 프로젝트: LuoSven/EM
 /// <summary>
 /// 创建新的 TB_Stu_Attachment 对象。
 /// </summary>
 /// <param name="attachId">AttachId 属性的初始值。</param>
 /// <param name="createDate">CreateDate 属性的初始值。</param>
 /// <param name="userId">UserId 属性的初始值。</param>
 public static TB_Stu_Attachment CreateTB_Stu_Attachment(global::System.Int32 attachId, global::System.DateTime createDate, global::System.Int32 userId)
 {
     TB_Stu_Attachment tB_Stu_Attachment = new TB_Stu_Attachment();
     tB_Stu_Attachment.AttachId = attachId;
     tB_Stu_Attachment.CreateDate = createDate;
     tB_Stu_Attachment.UserId = userId;
     return tB_Stu_Attachment;
 }
예제 #2
0
파일: TopU.Designer.cs 프로젝트: LuoSven/EM
 /// <summary>
 /// 用于向 TB_Stu_Attachment EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToTB_Stu_Attachment(TB_Stu_Attachment tB_Stu_Attachment)
 {
     base.AddObject("TB_Stu_Attachment", tB_Stu_Attachment);
 }