/// <summary> /// 用于向 DueAccounts EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToDueAccounts(DueAccounts dueAccounts) { base.AddObject("DueAccounts", dueAccounts); }
/// <summary> /// 创建新的 DueAccounts 对象。 /// </summary> /// <param name="accountID">AccountID 属性的初始值。</param> /// <param name="due">Due 属性的初始值。</param> /// <param name="createdByID">CreatedByID 属性的初始值。</param> /// <param name="lastModifiedByID">LastModifiedByID 属性的初始值。</param> /// <param name="createdDate">CreatedDate 属性的初始值。</param> /// <param name="lastModifiedDate">LastModifiedDate 属性的初始值。</param> public static DueAccounts CreateDueAccounts(global::System.Guid accountID, global::System.Decimal due, global::System.Guid createdByID, global::System.Guid lastModifiedByID, global::System.DateTime createdDate, global::System.DateTime lastModifiedDate) { DueAccounts dueAccounts = new DueAccounts(); dueAccounts.AccountID = accountID; dueAccounts.Due = due; dueAccounts.CreatedByID = createdByID; dueAccounts.LastModifiedByID = lastModifiedByID; dueAccounts.CreatedDate = createdDate; dueAccounts.LastModifiedDate = lastModifiedDate; return dueAccounts; }