用 windows authentication建立本地端sql連線
using (var conn = new SqlConnection("Server= localhost; Database= TEST; Integrated Security=True;")) { var b = conn.Query("SELECT * FROM T1 WITH (NOLOCK)"); }