public static List<ExplorerItem> GetSchema(VfpConnection connection, IConnectionInfo connectionInfo) { if (connection == null) { throw new ArgumentNullException("connection"); } if (connectionInfo == null) { throw new ArgumentNullException("connectionInfo"); } var reader = new SchemaReader(connection, connectionInfo); var database = reader.GetDatabase(); return database.GetExplorerSchema(); }
public static List <ExplorerItem> GetSchema(VfpConnection connection, IConnectionInfo connectionInfo) { if (connection == null) { throw new ArgumentNullException("connection"); } if (connectionInfo == null) { throw new ArgumentNullException("connectionInfo"); } var reader = new SchemaReader(connection, connectionInfo); var database = reader.GetDatabase(); return(database.GetExplorerSchema()); }