/// <summary> /// Deprecated Method for adding a new object to the OrganizationTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrganizationTypes(OrganizationType organizationType) { base.AddObject("OrganizationTypes", organizationType); }
/// <summary> /// Create a new OrganizationType object. /// </summary> /// <param name="organizationTypeID">Initial value of the OrganizationTypeID property.</param> /// <param name="organizationType1">Initial value of the OrganizationType1 property.</param> public static OrganizationType CreateOrganizationType(global::System.Int32 organizationTypeID, global::System.String organizationType1) { OrganizationType organizationType = new OrganizationType(); organizationType.OrganizationTypeID = organizationTypeID; organizationType.OrganizationType1 = organizationType1; return organizationType; }