martinjw / dbschemareader

Read database metadata (from SqlServer/Oracle/MySql/SQLite/PostgreSql/DB2 etc) into one simple model
Microsoft Public License
293 stars 128 forks source link

Only populates the first argument in a postgres function #89

Closed oferns closed 5 years ago

oferns commented 5 years ago

In a postgres function, I am only getting the first argument of the function in the DatabaseFunction object. I will investigate and post what I find

oferns commented 5 years ago

ok so the issue is in DatabaseSchemaReader.ProviderSchemaReaders.Databases.PostgreSql.ProcedureArguments around line 80. I've created a PR. https://github.com/martinjw/dbschemareader/pulls Happy to discuss

martinjw commented 5 years ago

Merged, thanks! Will push release to nuget at the weekend

oferns commented 5 years ago

Ok great! The library is really useful. I use it in combination with Roslyn/SyntaxFactory to generate attributed models to use with dapper and it works a treat so many thanks for your efforts and if I come across any more hiccups I'll do me best!