Class AISchemaSelectorControl
Replicates Delphi's PSchemaHost layout: Row 0: "SCHEMA" label spanning full width (like PROVIDER/MODE labels) Row 1: [ComboBox (fill)] [Config ⚙ button] [Refresh button]
Inheritance
AISchemaSelectorControl
Implements
Inherited Members
Namespace: Reportman.Designer
Assembly: Reportman.Designer.dll
Syntax
public class AISchemaSelectorControl : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Constructors
View SourceAISchemaSelectorControl()
Declaration
public AISchemaSelectorControl()
Properties
View SourceHubDatabaseId
Declaration
public long HubDatabaseId { get; }
Property Value
| Type | Description |
|---|---|
| long |
HubSchemaId
Declaration
public long HubSchemaId { get; }
Property Value
| Type | Description |
|---|---|
| long |
SchemaApiKey
Declaration
public string SchemaApiKey { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceApplySchemas(List<string>)
Apply loaded schemas to the combo. Called by AIChatPanelControl after loading. Format: "DisplayName=hubDatabaseId|hubSchemaId" or "DisplayName=hubDatabaseId|hubSchemaId|apiKey"
Declaration
public void ApplySchemas(List<string> schemas)
Parameters
| Type | Name | Description |
|---|---|---|
| List<string> | schemas |
RefreshSchemas()
Declaration
public void RefreshSchemas()
SetHubContext(long, long, string)
Declaration
public void SetHubContext(long hubDatabaseId, long hubSchemaId, string apiKey = "")
Parameters
| Type | Name | Description |
|---|---|---|
| long | hubDatabaseId | |
| long | hubSchemaId | |
| string | apiKey |
SetPreferredConnection(long, string)
Declaration
public void SetPreferredConnection(long hubDatabaseId, string apiKey = "")
Parameters
| Type | Name | Description |
|---|---|---|
| long | hubDatabaseId | |
| string | apiKey |
Events
View SourceSchemaChanged
Declaration
public event EventHandler SchemaChanged
Event Type
| Type | Description |
|---|---|
| EventHandler |