/// <summary> /// Deprecated Method for adding a new object to the SecurityGroupUsers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSecurityGroupUsers(SecurityGroupUser securityGroupUser) { base.AddObject("SecurityGroupUsers", securityGroupUser); }
/// <summary> /// Create a new SecurityGroupUser object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="securityUserID">Initial value of the SecurityUserID property.</param> /// <param name="securityGroupID">Initial value of the SecurityGroupID property.</param> /// <param name="lastUpdated">Initial value of the LastUpdated property.</param> /// <param name="lastUpdatedBy">Initial value of the LastUpdatedBy property.</param> public static SecurityGroupUser CreateSecurityGroupUser(global::System.Int32 id, global::System.Int32 securityUserID, global::System.Int32 securityGroupID, global::System.DateTime lastUpdated, global::System.String lastUpdatedBy) { SecurityGroupUser securityGroupUser = new SecurityGroupUser(); securityGroupUser.ID = id; securityGroupUser.SecurityUserID = securityUserID; securityGroupUser.SecurityGroupID = securityGroupID; securityGroupUser.LastUpdated = lastUpdated; securityGroupUser.LastUpdatedBy = lastUpdatedBy; return securityGroupUser; }