/// <summary> /// Create a new DiscoveryDataSet object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="profileUid">Initial value of the ProfileUid property.</param> /// <param name="computerId">Initial value of the ComputerId property.</param> /// <param name="discovered">Initial value of the Discovered property.</param> public static DiscoveryDataSet CreateDiscoveryDataSet(global::System.Int64 id, global::System.Guid profileUid, global::System.Int64 computerId, global::System.DateTime discovered) { DiscoveryDataSet discoveryDataSet = new DiscoveryDataSet(); discoveryDataSet.Id = id; discoveryDataSet.ProfileUid = profileUid; discoveryDataSet.ComputerId = computerId; discoveryDataSet.Discovered = discovered; return discoveryDataSet; }
/// <summary> /// Deprecated Method for adding a new object to the DiscoveryDataSets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDiscoveryDataSets(DiscoveryDataSet discoveryDataSet) { base.AddObject("DiscoveryDataSets", discoveryDataSet); }