/// <summary> /// Create a new ComputerGroup object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="deleted">Initial value of the Deleted property.</param> /// <param name="timeStamp">Initial value of the TimeStamp property.</param> /// <param name="localPolicyId">Initial value of the LocalPolicyId property.</param> /// <param name="internetPolicyId">Initial value of the InternetPolicyId property.</param> public static ComputerGroup CreateComputerGroup(global::System.Int64 id, global::System.String name, global::System.Boolean deleted, global::System.Byte[] timeStamp, global::System.Int64 localPolicyId, global::System.Int64 internetPolicyId) { ComputerGroup computerGroup = new ComputerGroup(); computerGroup.Id = id; computerGroup.Name = name; computerGroup.Deleted = deleted; computerGroup.TimeStamp = timeStamp; computerGroup.LocalPolicyId = localPolicyId; computerGroup.InternetPolicyId = internetPolicyId; return computerGroup; }
/// <summary> /// Deprecated Method for adding a new object to the ComputerGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToComputerGroups(ComputerGroup computerGroup) { base.AddObject("ComputerGroups", computerGroup); }