/// <summary> /// Deprecated Method for adding a new object to the ExportDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToExportDetails(ExportDetail exportDetail) { base.AddObject("ExportDetails", exportDetail); }
/// <summary> /// Create a new ExportDetail object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="exportId">Initial value of the ExportId 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="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 ExportDetail CreateExportDetail(global::System.Int32 id, global::System.Int32 exportId, global::System.Int32 storageId, global::System.Int32 productId, global::System.Int32 quantity, global::System.Int32 status, global::System.Int32 lastModifiedBy, global::System.DateTime lastModifiedDate) { ExportDetail exportDetail = new ExportDetail(); exportDetail.Id = id; exportDetail.ExportId = exportId; exportDetail.StorageId = storageId; exportDetail.ProductId = productId; exportDetail.Quantity = quantity; exportDetail.Status = status; exportDetail.LastModifiedBy = lastModifiedBy; exportDetail.LastModifiedDate = lastModifiedDate; return exportDetail; }