/// <summary> /// Deprecated Method for adding a new object to the Organizations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrganizations(Organization organization) { base.AddObject("Organizations", organization); }
/// <summary> /// Create a new Organization object. /// </summary> /// <param name="idOrganization">Initial value of the IdOrganization property.</param> public static Organization CreateOrganization(global::System.Int32 idOrganization) { Organization organization = new Organization(); organization.IdOrganization = idOrganization; return organization; }