Class KeyValueConfigurationModel
Configuration model for configurating KeyValue reports.
Inheritance
Implements
Namespace: Simplic.Reporting
Assembly: Simplic.Reporting.dll
Syntax
public class KeyValueConfigurationModel : ViewModelBase, IReportConfiguration
Constructors
| Improve this Doc View SourceKeyValueConfigurationModel()
Create configuration
Declaration
public KeyValueConfigurationModel()
Properties
| Improve this Doc View SourceCheckoutUser
Checkout user for the current repot
Declaration
public int? CheckoutUser { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ConnectionString
Conenction string to the database
Declaration
public string ConnectionString { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContextlessVisible
Defines whether a report can used as contextless
Declaration
public Visibility ContextlessVisible { get; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
Copies
Gets or sets the number of copies to be made when printing.
Declaration
public short Copies { get; set; }
Property Value
Type | Description |
---|---|
System.Int16 |
Description
Simple description text
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Unique id of a report
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsContextless
Defines whether a report is used without a special contexts
Declaration
public bool IsContextless { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsListBased
Defines whether the current report is list-based
Declaration
public bool IsListBased { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsPrivatized
Defines whether a private report exists for the current report file
Declaration
public bool IsPrivatized { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Unique name of a report
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NonePrivateReportName
Returns always the report name for the none private report
Declaration
public string NonePrivateReportName { get; }
Property Value
Type | Description |
---|---|
System.String |
Parameter
List of required parameter
Declaration
public ObservableCollection<KeyValueParameterConfigurationModel> Parameter { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<KeyValueParameterConfigurationModel> |
PrinterName
Printer name
Declaration
public string PrinterName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProviderName
Database provider name. Depending on the report engine this is an ADO.Net, ODBC, ... Provider name.
Declaration
public string ProviderName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Report
Report binary
Declaration
public Stream Report { get; set; }
Property Value
Type | Description |
---|---|
System.IO.Stream |
ReportName
Name of the default report. Can be privatized with the PrivateReportName property (binaries, not the report name!)
Declaration
public string ReportName { get; }
Property Value
Type | Description |
---|---|
System.String |
SelectedParameter
Currently selected parameter, for the editor only
Declaration
public KeyValueParameterConfigurationModel SelectedParameter { get; set; }
Property Value
Type | Description |
---|---|
KeyValueParameterConfigurationModel |
Type
Type of the report
Declaration
public ReportType Type { get; set; }
Property Value
Type | Description |
---|---|
ReportType |