Interface IDataMerge
Namespace: PayrollEngine.Document
Assembly: PayrollEngine.Core.dll
Syntax
public interface IDataMerge
Methods
ExcelMerge(DataSet, DocumentMetadata, IDictionary<string, object>)
Declaration
MemoryStream ExcelMerge(DataSet dataSet, DocumentMetadata metadata, IDictionary<string, object> parameters = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DataSet | dataSet | |
| DocumentMetadata | metadata | |
| IDictionary<string, object> | parameters |
Returns
| Type | Description |
|---|---|
| MemoryStream |
IsMergeable(DocumentType)
Declaration
bool IsMergeable(DocumentType documentType)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentType | documentType |
Returns
| Type | Description |
|---|---|
| bool |
Merge(Stream, DataSet, DocumentType, DocumentMetadata, IDictionary<string, object>)
Declaration
MemoryStream Merge(Stream templateStream, DataSet dataSet, DocumentType documentType, DocumentMetadata metadata, IDictionary<string, object> parameters = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | templateStream | |
| DataSet | dataSet | |
| DocumentType | documentType | |
| DocumentMetadata | metadata | |
| IDictionary<string, object> | parameters |
Returns
| Type | Description |
|---|---|
| MemoryStream |