Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OrganizationType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrganizationType(OrganizationType organizationType)
 {
     base.AddObject("OrganizationType", organizationType);
 }
Example #2
0
 /// <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;
 }