Bridging the gap between business processes and information systems

* GitHub Ronald Rink http://github.com/dfch
* GitHiub d-fens http://github.com/dfensgmbh

Improvements on the SqlXmlSerialiser

This is a followup to the last article Easy Conversion from Enterprise Architect XML SQL Queries to C# Objects. Every time we execute a query that returns results from more than one table we have to use aliasing in the SQL statement to differentiate columns with the same name. See below a query that retrieves […]

Easy Conversion from Enterprise Architect XML SQL Queries to C# Objects

In this article I show you how to easily convert arbitrary SQL query results in Enterprise Architect to native C# objects. The Enterprise Architect object model provides several methods which you can use to make direct SQL queries against the underlying database. And while Repository.GetElementSet really returns a Collection of native EA.Elements (but not connectors) […]

Using Enterprise Architect Add-In Search Methods with XmlSerializer

SearchResults

Sparx Systems Enterprise Architect supports the extension of the built-in search functionality by creating search queries with add-ins called Add-In Search. In this article I show you how to create an Add-In search that returns results to the “Find in Project” dialogue using an XML serialiser. Add-In Search Methods XML structure Serialisation Add-In Search Methods […]

WPF Series -13- Advanced Installer

The last post in this series deals with the packaging of a WPF application. To simplify the installation of our WPF application we decided to package the application as MSI (Microsoft Installer) using Advanced Installer. In the following I show you the most important steps in using Advanced Installer. Prerequisites Download Advanced Installer Install Visual […]

WPF Series -12- Global Exception Logging

During development and debugging of our WPF application some exceptions occurred which were not caught by the code. Such unhandled exceptions are not logged automatically. In order to obtain information about any unhandled exceptions in production and to simplify error analysis, we looked for a way to handle and log unhandled exceptions. After some research […]

WPF Series -11- Custom MetroDialog

After a long break it’s finally time to continue with the WPF series. Today I’ll show you how we implemented a custom metro dialog. Our dialog contains 2 comboboxes and gets displayed during data export to determine the accuracy of the data to be exported. Let’s have a look at the code. AccuracySelectionDialog.xaml First we […]

[HOWTO] Create Enterprise Architect Stereotype Reference Data using PowerShell

This is a follow-up to the blog post [HOWTO] Convert Images to Enterprise Architect Model Images. As already described there, we wanted to use the official cisco network topology icons (B/W: EPS (7.6 MB) | JPG (4 MB)) in Enterprise Architect to associate them with elements. The import of the images into Enterprise Architect has […]

[HOWTO] Convert Images to Enterprise Architect Model Images

We wanted to use the official cisco network topology icons (B/W: EPS (7.6 MB) | JPG (4 MB)) in Enterprise Architect to associate them with elements. To avoid importing these icons manually one by one we automated this process by creating model images reference data using PowerShell. The model images reference data can then be […]

[NoBrainer] Simplifying Sparx Enterprise Architect Development with C# Interactive (CSI)

CSharpInteractiveConsole

Developing an AddIn for Sparx Enterprise Architect is tedious, even with the existence of support such as the great work of Geert Bellekens. However, since Visual Studio 2015 we can use the C# Interactive Console which allows us to fire up an instance of Enterprise Architect and test our code interactively before putting it into […]

Registering a Sparx Enterprise Architect AddIn on Windows 10 x64 without administrative permissions

Sparx Enterprise Architect supports AddIns so we can enhance its functionality and behaviour in our daily work life as an architect. This is normally done by adding a subkey to the HKEY_LOCAL_MACHINE\Software\Sparx Systems\EAAddins key. This is described in Geert Bellekens’ Tutorial: Create your first C# Enterprise Architect addin in 10 minutes. As we can read […]