/// <summary> /// 用于向 Work_Note EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToWork_Note(Work_Note work_Note) { base.AddObject("Work_Note", work_Note); }
/// <summary> /// 创建新的 Work_Note 对象。 /// </summary> /// <param name="id">ID 属性的初始值。</param> /// <param name="wType">WType 属性的初始值。</param> /// <param name="writerID">WriterID 属性的初始值。</param> /// <param name="writerName">WriterName 属性的初始值。</param> /// <param name="wTitle">WTitle 属性的初始值。</param> /// <param name="wConetent">WConetent 属性的初始值。</param> /// <param name="wTaster">WTaster 属性的初始值。</param> /// <param name="isDelete">IsDelete 属性的初始值。</param> /// <param name="addTime">AddTime 属性的初始值。</param> /// <param name="isRead">IsRead 属性的初始值。</param> public static Work_Note CreateWork_Note(global::System.Int32 id, global::System.String wType, global::System.Int32 writerID, global::System.String writerName, global::System.String wTitle, global::System.String wConetent, global::System.Int32 wTaster, global::System.Boolean isDelete, global::System.DateTime addTime, global::System.Boolean isRead) { Work_Note work_Note = new Work_Note(); work_Note.ID = id; work_Note.WType = wType; work_Note.WriterID = writerID; work_Note.WriterName = writerName; work_Note.WTitle = wTitle; work_Note.WConetent = wConetent; work_Note.WTaster = wTaster; work_Note.IsDelete = isDelete; work_Note.AddTime = addTime; work_Note.IsRead = isRead; return work_Note; }