private ExplorerIcon GetExplorerIcon(DbObjectKind objectKind) { switch (objectKind) { case DbObjectKind.Table: return(ExplorerIcon.Table); case DbObjectKind.View: return(ExplorerIcon.View); case DbObjectKind.StoredProc: return(ExplorerIcon.StoredProc); case DbObjectKind.ScalarFunction: return(ExplorerIcon.ScalarFunction); case DbObjectKind.TableFunction: return(ExplorerIcon.TableFunction); } return(ExplorerIcon.Table); }
private ExplorerIcon GetExplorerIcon(DbObjectKind objectKind) { switch (objectKind) { case DbObjectKind.Table: return ExplorerIcon.Table; case DbObjectKind.View: return ExplorerIcon.View; case DbObjectKind.StoredProc: return ExplorerIcon.StoredProc; case DbObjectKind.ScalarFunction: return ExplorerIcon.ScalarFunction; case DbObjectKind.TableFunction: return ExplorerIcon.TableFunction; } return ExplorerIcon.Table; }