2010-07-01 3 views

답변

2

나는 확신입니다. 그러나, 나는 그것이 sp_GetColumns과 같은 구문을 사용한다고 생각합니다. 예를 들어,

execute procedure sp_getProcedureColumns(null, null, 'myAEP', null); 

그리고 또 다른 질문의 의견에 따라, 당신은 또한 AdsCommand.DeriveParameters에 관심이있을 수 있습니다. 다음은 예입니다.

AdsCommand cmd = conn.CreateCommand(); 
cmd.CommandText = "SomeProcedure"; 
cmd.CommandType = CommandType.StoredProcedure; 
cmd.DeriveParameters(); 
foreach (AdsParameter p in cmd.Parameters) 
    Console.WriteLine("{0}, {1}, {2}", p.ParameterName, p.DbType.ToString(), 
         p.Direction.ToString()); 
관련 문제