Hello, I'm wondering if there is a way to list all stored procedure in a database just like doing Mapping.GetTables() or Mapping.GetFunctions()
Stored procedures are not part of the mapping, but you can still list them via Reflection:
typeof (TypedDataContext).GetMethods(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly).Where (m => !m.IsSpecialName)
Thanks Joe, That's awesome
Comments
Stored procedures are not part of the mapping, but you can still list them via Reflection:
Thanks Joe, That's awesome![:) :)](https://forum.linqpad.net/resources/emoji/smile.png)