/// <summary> /// Deprecated Method for adding a new object to the ADGroupSecurityGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToADGroupSecurityGroups(ADGroupSecurityGroup aDGroupSecurityGroup) { base.AddObject("ADGroupSecurityGroups", aDGroupSecurityGroup); }
/// <summary> /// Create a new ADGroupSecurityGroup object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="aDGroupID">Initial value of the ADGroupID 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 ADGroupSecurityGroup CreateADGroupSecurityGroup(global::System.Int32 id, global::System.Int32 aDGroupID, global::System.Int32 securityGroupID, global::System.DateTime lastUpdated, global::System.String lastUpdatedBy) { ADGroupSecurityGroup aDGroupSecurityGroup = new ADGroupSecurityGroup(); aDGroupSecurityGroup.ID = id; aDGroupSecurityGroup.ADGroupID = aDGroupID; aDGroupSecurityGroup.SecurityGroupID = securityGroupID; aDGroupSecurityGroup.LastUpdated = lastUpdated; aDGroupSecurityGroup.LastUpdatedBy = lastUpdatedBy; return aDGroupSecurityGroup; }