/// <summary> /// Deprecated Method for adding a new object to the ImportDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToImportDetails(ImportDetail importDetail) { base.AddObject("ImportDetails", importDetail); }
/// <summary> /// Create a new ImportDetail object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="importId">Initial value of the ImportId property.</param> /// <param name="storageId">Initial value of the StorageId property.</param> /// <param name="productId">Initial value of the ProductId property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="price">Initial value of the Price property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param> /// <param name="lastModifiedDate">Initial value of the LastModifiedDate property.</param> public static ImportDetail CreateImportDetail(global::System.Int32 id, global::System.Int32 importId, global::System.Int32 storageId, global::System.Int32 productId, global::System.Int32 quantity, global::System.Double price, global::System.Int32 status, global::System.Int32 lastModifiedBy, global::System.DateTime lastModifiedDate) { ImportDetail importDetail = new ImportDetail(); importDetail.Id = id; importDetail.ImportId = importId; importDetail.StorageId = storageId; importDetail.ProductId = productId; importDetail.Quantity = quantity; importDetail.Price = price; importDetail.Status = status; importDetail.LastModifiedBy = lastModifiedBy; importDetail.LastModifiedDate = lastModifiedDate; return importDetail; }