/// <summary> /// 用于向 OrganizationTransitions EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToOrganizationTransitions(OrganizationTransition organizationTransition) { base.AddObject("OrganizationTransitions", organizationTransition); }
/// <summary> /// 创建新的 OrganizationTransition 对象。 /// </summary> /// <param name="id">ID 属性的初始值。</param> /// <param name="cause">Cause 属性的初始值。</param> /// <param name="fundAlteration">FundAlteration 属性的初始值。</param> /// <param name="propertyAlteration">PropertyAlteration 属性的初始值。</param> /// <param name="time">Time 属性的初始值。</param> /// <param name="others">Others 属性的初始值。</param> /// <param name="description">Description 属性的初始值。</param> public static OrganizationTransition CreateOrganizationTransition(global::System.Int32 id, global::System.String cause, global::System.String fundAlteration, global::System.String propertyAlteration, global::System.DateTime time, global::System.String others, global::System.String description) { OrganizationTransition organizationTransition = new OrganizationTransition(); organizationTransition.ID = id; organizationTransition.Cause = cause; organizationTransition.FundAlteration = fundAlteration; organizationTransition.PropertyAlteration = propertyAlteration; organizationTransition.Time = time; organizationTransition.Others = others; organizationTransition.Description = description; return organizationTransition; }