/// <summary> /// 用于向 OrganizationChart EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToOrganizationChart(OrganizationChart organizationChart) { base.AddObject("OrganizationChart", organizationChart); }
/// <summary> /// 创建新的 OrganizationChart 对象。 /// </summary> /// <param name="dID">DID 属性的初始值。</param> public static OrganizationChart CreateOrganizationChart(global::System.Guid dID) { OrganizationChart organizationChart = new OrganizationChart(); organizationChart.DID = dID; return organizationChart; }