/// <summary> /// 用于向 Bank_Opus EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToBank_Opus(Bank_Opus bank_Opus) { base.AddObject("Bank_Opus", bank_Opus); }
/// <summary> /// 创建新的 Bank_Opus 对象。 /// </summary> /// <param name="id">ID 属性的初始值。</param> /// <param name="opType">OpType 属性的初始值。</param> /// <param name="opTitle">OpTitle 属性的初始值。</param> /// <param name="opAuthor">OpAuthor 属性的初始值。</param> /// <param name="opBeginTime">OpBeginTime 属性的初始值。</param> /// <param name="addTime">AddTime 属性的初始值。</param> /// <param name="isDelete">IsDelete 属性的初始值。</param> public static Bank_Opus CreateBank_Opus(global::System.Int32 id, global::System.String opType, global::System.String opTitle, global::System.String opAuthor, global::System.DateTime opBeginTime, global::System.DateTime addTime, global::System.Boolean isDelete) { Bank_Opus bank_Opus = new Bank_Opus(); bank_Opus.ID = id; bank_Opus.OpType = opType; bank_Opus.OpTitle = opTitle; bank_Opus.OpAuthor = opAuthor; bank_Opus.OpBeginTime = opBeginTime; bank_Opus.AddTime = addTime; bank_Opus.IsDelete = isDelete; return bank_Opus; }