/// <summary> /// 用于向 Bank_CommercialOpus EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToBank_CommercialOpus(Bank_CommercialOpus bank_CommercialOpus) { base.AddObject("Bank_CommercialOpus", bank_CommercialOpus); }
/// <summary> /// 创建新的 Bank_CommercialOpus 对象。 /// </summary> /// <param name="id">ID 属性的初始值。</param> /// <param name="opusID">OpusID 属性的初始值。</param> /// <param name="companyName">CompanyName 属性的初始值。</param> /// <param name="cpAddress">CpAddress 属性的初始值。</param> /// <param name="channelAddress">ChannelAddress 属性的初始值。</param> /// <param name="addTime">AddTime 属性的初始值。</param> /// <param name="isDelete">IsDelete 属性的初始值。</param> public static Bank_CommercialOpus CreateBank_CommercialOpus(global::System.Int32 id, global::System.Int32 opusID, global::System.String companyName, global::System.String cpAddress, global::System.String channelAddress, global::System.DateTime addTime, global::System.Boolean isDelete) { Bank_CommercialOpus bank_CommercialOpus = new Bank_CommercialOpus(); bank_CommercialOpus.ID = id; bank_CommercialOpus.OpusID = opusID; bank_CommercialOpus.CompanyName = companyName; bank_CommercialOpus.CpAddress = cpAddress; bank_CommercialOpus.ChannelAddress = channelAddress; bank_CommercialOpus.AddTime = addTime; bank_CommercialOpus.IsDelete = isDelete; return bank_CommercialOpus; }