Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OrganizationPersonRole EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrganizationPersonRole(OrganizationPersonRole organizationPersonRole)
 {
     base.AddObject("OrganizationPersonRole", organizationPersonRole);
 }
Example #2
0
 /// <summary>
 /// Create a new OrganizationPersonRole object.
 /// </summary>
 /// <param name="organizationID">Initial value of the OrganizationID property.</param>
 /// <param name="personID">Initial value of the PersonID property.</param>
 /// <param name="roleID">Initial value of the RoleID property.</param>
 public static OrganizationPersonRole CreateOrganizationPersonRole(global::System.Int32 organizationID, global::System.Int32 personID, global::System.Int32 roleID)
 {
     OrganizationPersonRole organizationPersonRole = new OrganizationPersonRole();
     organizationPersonRole.OrganizationID = organizationID;
     organizationPersonRole.PersonID = personID;
     organizationPersonRole.RoleID = roleID;
     return organizationPersonRole;
 }