Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Driver object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="downloadLink">Initial value of the DownloadLink property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 /// <param name="versionDate">Initial value of the VersionDate property.</param>
 /// <param name="postDate">Initial value of the PostDate property.</param>
 /// <param name="installCommand">Initial value of the InstallCommand property.</param>
 /// <param name="fileName">Initial value of the FileName property.</param>
 /// <param name="device_Id">Initial value of the Device_Id property.</param>
 public static Driver CreateDriver(global::System.Int32 id, global::System.String downloadLink, global::System.String version, global::System.DateTime versionDate, global::System.DateTime postDate, global::System.String installCommand, global::System.String fileName, global::System.Int32 device_Id)
 {
     Driver driver = new Driver();
     driver.Id = id;
     driver.DownloadLink = downloadLink;
     driver.Version = version;
     driver.VersionDate = versionDate;
     driver.PostDate = postDate;
     driver.InstallCommand = installCommand;
     driver.FileName = fileName;
     driver.Device_Id = device_Id;
     return driver;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Drivers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDrivers(Driver driver)
 {
     base.AddObject("Drivers", driver);
 }