Exemplo n.º 1
0
        private void LoadSourceStruct(ISourceProvider provider)
        {
            var tables = provider.Preview();

            if (tables == null)
            {
                return;
            }

            GetSchemaAsync(provider, tables);
        }
Exemplo n.º 2
0
        private void LoadSourceStruct(ISourceProvider provider)
        {
            var option = new SourceOption {
                View = Config.Instance.Source_View
            };
            var tables = provider.Preview(option);

            if (tables == null)
            {
                return;
            }

            GetSchemaAsync(provider, tables);
        }