private void ShowObjectSql(ObjectSqlArgs.eKind kind) { TreeListNode node = objectTree.FocusedNode; ObjectExplorerNodeTag tag = node.Tag as ObjectExplorerNodeTag; DomainObjectConfig config = tag.Value as DomainObjectConfig; UI.Instance.ShowObjectSql(tag.Inquiry, config, kind); }
public void ShowObjectSql(DomainObjectInquiry app, DomainObjectConfig obj, ObjectSqlArgs.eKind kind) { if (ObjectSqlRequest != null) ObjectSqlRequest(this, new ObjectSqlArgs(app, obj, kind)); }