/// <summary> /// Create a new ScanProfile object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="uid">Initial value of the Uid property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="isPredefined">Initial value of the IsPredefined property.</param> /// <param name="timeStamp">Initial value of the TimeStamp property.</param> public static ScanProfile CreateScanProfile(global::System.Int64 id, global::System.Guid uid, global::System.String name, global::System.Boolean isPredefined, global::System.Byte[] timeStamp) { ScanProfile scanProfile = new ScanProfile(); scanProfile.Id = id; scanProfile.Uid = uid; scanProfile.Name = name; scanProfile.IsPredefined = isPredefined; scanProfile.TimeStamp = timeStamp; return scanProfile; }
/// <summary> /// Deprecated Method for adding a new object to the ScanProfiles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToScanProfiles(ScanProfile scanProfile) { base.AddObject("ScanProfiles", scanProfile); }