/// <summary> /// 用于向 CollectAccounts EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToCollectAccounts(CollectAccounts collectAccounts) { base.AddObject("CollectAccounts", collectAccounts); }
/// <summary> /// 创建新的 CollectAccounts 对象。 /// </summary> /// <param name="settlementAccountID">SettlementAccountID 属性的初始值。</param> /// <param name="memberID">MemberID 属性的初始值。</param> /// <param name="isDeleted">IsDeleted 属性的初始值。</param> /// <param name="createdByID">CreatedByID 属性的初始值。</param> /// <param name="lastModifiedByID">LastModifiedByID 属性的初始值。</param> /// <param name="createdDate">CreatedDate 属性的初始值。</param> /// <param name="lastModifiedDate">LastModifiedDate 属性的初始值。</param> public static CollectAccounts CreateCollectAccounts(global::System.Guid settlementAccountID, global::System.Guid memberID, global::System.Boolean isDeleted, global::System.Guid createdByID, global::System.Guid lastModifiedByID, global::System.DateTime createdDate, global::System.DateTime lastModifiedDate) { CollectAccounts collectAccounts = new CollectAccounts(); collectAccounts.SettlementAccountID = settlementAccountID; collectAccounts.MemberID = memberID; collectAccounts.IsDeleted = isDeleted; collectAccounts.CreatedByID = createdByID; collectAccounts.LastModifiedByID = lastModifiedByID; collectAccounts.CreatedDate = createdDate; collectAccounts.LastModifiedDate = lastModifiedDate; return collectAccounts; }