Exemplo n.º 1
0
        public static SynchronizationQueriesAdapter CreateInstance(string connectionString, int commandTimeout)
        {
            var adapter = new SynchronizationQueriesAdapter();

            TableAdapterHelper.CreateInstance(adapter.CommandCollection, connectionString, commandTimeout);
            return(adapter);
        }
Exemplo n.º 2
0
        public static string GetConnectionString()
        {
            var adapter = new SynchronizationQueriesAdapter();

            return(adapter.CommandCollection[0].Connection.ConnectionString);
        }