class Program
{
private const string Sqlconnstr = "Data Source=.;Initial Catalog = LINQtoSQL;UID = Scarface;PWD = kaka1983513!;";
static void Main(string[] args)
{
var dataContext = new DataContext(Sqlconnstr);
var books = dataContext.GetTable<Book>();
var query = from book in books
select book;
var list = query.ToList(); //If i uncomment this line,i can't get the full string without 'PWD = 123456'.
Console.WriteLine(dataContext.Connection.ConnectionString);
Console.ReadLine();
}
}
'PWD = 123456'
afterquery.ToList()
コマンドで完全な文字列を取得するにはどうすればよいですか。