|
|
@ -17,6 +17,10 @@ namespace TinyPosDBGen |
|
|
|
string userId = "sa"; |
|
|
|
string userId = "sa"; |
|
|
|
string userPassword = ""; |
|
|
|
string userPassword = ""; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Console.WriteLine("데이터베이스를 초기화합니다."); |
|
|
|
|
|
|
|
Console.WriteLine("(※※※ 경고: 기존 데이터베이스 데이터는 모두 삭제됩니다. ※※※)"); |
|
|
|
|
|
|
|
Console.WriteLine(); |
|
|
|
|
|
|
|
|
|
|
|
InputValue("서버 이름", ref source); |
|
|
|
InputValue("서버 이름", ref source); |
|
|
|
InputValue("데이터베이스 이름", ref catalog); |
|
|
|
InputValue("데이터베이스 이름", ref catalog); |
|
|
|
InputValue("인증 사용자 계정", ref userId); |
|
|
|
InputValue("인증 사용자 계정", ref userId); |
|
|
@ -33,7 +37,7 @@ namespace TinyPosDBGen |
|
|
|
Console.WriteLine("초기화가 완료되었습니다."); |
|
|
|
Console.WriteLine("초기화가 완료되었습니다."); |
|
|
|
Console.WriteLine(); |
|
|
|
Console.WriteLine(); |
|
|
|
Console.WriteLine("종료를 위해 아무키나 누르세요."); |
|
|
|
Console.WriteLine("종료를 위해 아무키나 누르세요."); |
|
|
|
Console.ReadLine(); |
|
|
|
Console.ReadKey(); |
|
|
|
//Student student = new Student() |
|
|
|
//Student student = new Student() |
|
|
|
//{ |
|
|
|
//{ |
|
|
|
// StudentName = "테스트용", |
|
|
|
// StudentName = "테스트용", |
|
|
|