[FB-Tracker] Created: (DNET-728) Wrong definition of firebird procedures.
Wrong definition of firebird procedures.
URL: http://tracker.firebirdsql.org/browse/DNET-728 Project: .NET Data provider
Issue Type: Bug
Components: ADO.NET Provider
Affects Versions: 22.214.171.124, 126.96.36.199
Environment: Firebird 2.5.2, Firebird Entity Framework Provider and Firebird ADO.NET Data Povider: from version 5.6.0, Entity Framework - version 6.1.3
Assignee: Jiri Cincura
Hey there, I found bugs here: StoreSchemaDefinitionVersion3.ssdl while testing FirebirdClient with my database.
Some procedures have no returning parameters, but body have "SUSPEND". In that case rdb$procedure_type will be 1 but rdb$procedure_outputs will be NULL. In model will be added as function.
Some procedures can have rdb$procedure_type = 2, but rdb$procedure_outputs can be more than 0. That function cannot be selectable, but can be executed. In model will be added as procedure. That ok.
There is also some more problems: too much time need to add procedures/functions in model, even I ask one procedure or I don't add procedures at all. I have tested requests for tables and functions/procedures with raw: executing in 1 and 6 minuts respectively.
Also, requests not return MaxLength for procedure/function parameters. In that case SqlGenerator wrongly casts all varchars with fixed length as VARCHAR(8191) ( http://tracker.firebirdsql.org/browse/DNET-723 )