//使用动态参数执行存储过程 static void ExecuteStoreProcedureWithDynamicParam() { Person person = PersonDB.ExecuteStoreProcedureWithDynamicParam(); Console.WriteLine(person.Name + ":" + person.Age); }