/// <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; }
/// <summary> /// 用于向 TB_Stu_Attachment EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToTB_Stu_Attachment(TB_Stu_Attachment tB_Stu_Attachment) { base.AddObject("TB_Stu_Attachment", tB_Stu_Attachment); }