/// <summary> /// Deprecated Method for adding a new object to the Monitors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMonitors(Monitor monitor) { base.AddObject("Monitors", monitor); }
/// <summary> /// Create a new Monitor object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="materialsId">Initial value of the materialsId property.</param> /// <param name="matrix">Initial value of the matrix property.</param> /// <param name="aspectRatio">Initial value of the aspectRatio property.</param> /// <param name="led">Initial value of the led property.</param> /// <param name="producer">Initial value of the producer property.</param> public static Monitor CreateMonitor(global::System.Int32 id, global::System.Int32 materialsId, global::System.String matrix, global::System.String aspectRatio, global::System.String led, global::System.String producer) { Monitor monitor = new Monitor(); monitor.id = id; monitor.materialsId = materialsId; monitor.matrix = matrix; monitor.aspectRatio = aspectRatio; monitor.led = led; monitor.producer = producer; return monitor; }