Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SimpleRepository でストアド プロシージャを実行し、型付きリストを回答として取得するにはどうすればよいですか? SubSonic3を使っています。
ありがとう。
私の答えを見つけました:
StoredProcedure sproc = new StoredProcedure("SprocName", ProviderFactory.GetProvider(ConnectionStringName)); string input= "input text"; sproc.Command.AddParameter("input", input, DbType.String); return sproc.ExecuteTypedList<T>();