public static IDatabaseUpgrader Create(IDatabaseUpgrader[] children) { if (children == null || children.Length == 0) { return null; } if (children.Length == 1) { return children.First(); } return new aggregate_upgrader(children); }