/// <summary> /// Deprecated Method for adding a new object to the IPCameras EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToIPCameras(IPCamera iPCamera) { base.AddObject("IPCameras", iPCamera); }
/// <summary> /// Create a new IPCamera object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="vendor">Initial value of the Vendor property.</param> /// <param name="host">Initial value of the Host property.</param> /// <param name="port">Initial value of the Port property.</param> /// <param name="useSSL">Initial value of the UseSSL property.</param> /// <param name="username">Initial value of the Username property.</param> /// <param name="password">Initial value of the Password property.</param> public static IPCamera CreateIPCamera(global::System.Int32 id, global::System.String description, global::System.Int32 vendor, global::System.String host, global::System.Int32 port, global::System.Boolean useSSL, global::System.String username, global::System.String password) { IPCamera iPCamera = new IPCamera(); iPCamera.Id = id; iPCamera.Description = description; iPCamera.Vendor = vendor; iPCamera.Host = host; iPCamera.Port = port; iPCamera.UseSSL = useSSL; iPCamera.Username = username; iPCamera.Password = password; return iPCamera; }