コード例 #1
0
 /// <summary>
 /// Create a new ProductConnection object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="productUid">Initial value of the ProductUid property.</param>
 /// <param name="computerId">Initial value of the ComputerId property.</param>
 /// <param name="connectionDate">Initial value of the ConnectionDate property.</param>
 public static ProductConnection CreateProductConnection(global::System.Int64 id, global::System.Guid productUid, global::System.Int64 computerId, global::System.DateTime connectionDate)
 {
     ProductConnection productConnection = new ProductConnection();
     productConnection.Id = id;
     productConnection.ProductUid = productUid;
     productConnection.ComputerId = computerId;
     productConnection.ConnectionDate = connectionDate;
     return productConnection;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductConnections EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductConnections(ProductConnection productConnection)
 {
     base.AddObject("ProductConnections", productConnection);
 }