예제 #1
0
        public DataContext(string connectionString)
        {
            var connectionProvider = ConnectionProvider.CreateProvider("ServerName", connectionString);

            this.sqlCommand  = query => new SqlCmd(connectionProvider, query);
            this.Description = connectionString;
        }