Let's say you have three stored procedure with the same name on different schema and one parameter:
```
Alpha.proc_DoSomething @Parameter datetime
Beta.proc_DoSomething @Parameter datetime
Omega.proc_DoSomething @Parameter datetime
```
Only one method is generated prepending the first schema name, and adding three parameters instead of one:
```
int Alpha_ProcDoSomething(System.DateTime? parameter, System.DateTime? parameter, System.DateTime? parameter);
```
Of course this won't compile, and you don't have all the methods you need.
Expected result:
```
int Alpha_ProcDoSomething(System.DateTime? parameter);
int Beta_ProcDoSomething(System.DateTime? parameter);
int Gamma_ProcDoSomething(System.DateTime? parameter);
```
I suspect the problem is on a query while retrieving the metadata.
Comments: Thanks 0v3rCl0ck, this is now fixed and will be in the next release. ``` @@ -1907,9 +1907,10 @@ if(storedProcedureFilterExclude != null && storedProcedureFilterExclude.IsMatch(spName)) continue; - if (lastSp != spName || sp == null) + var fullname = schema + "." + spName; + if (lastSp != fullname || sp == null) { - lastSp = spName; + lastSp = fullname; sp = new StoredProcedure { IsTVF = isTVF, ```
```
Alpha.proc_DoSomething @Parameter datetime
Beta.proc_DoSomething @Parameter datetime
Omega.proc_DoSomething @Parameter datetime
```
Only one method is generated prepending the first schema name, and adding three parameters instead of one:
```
int Alpha_ProcDoSomething(System.DateTime? parameter, System.DateTime? parameter, System.DateTime? parameter);
```
Of course this won't compile, and you don't have all the methods you need.
Expected result:
```
int Alpha_ProcDoSomething(System.DateTime? parameter);
int Beta_ProcDoSomething(System.DateTime? parameter);
int Gamma_ProcDoSomething(System.DateTime? parameter);
```
I suspect the problem is on a query while retrieving the metadata.
Comments: Thanks 0v3rCl0ck, this is now fixed and will be in the next release. ``` @@ -1907,9 +1907,10 @@ if(storedProcedureFilterExclude != null && storedProcedureFilterExclude.IsMatch(spName)) continue; - if (lastSp != spName || sp == null) + var fullname = schema + "." + spName; + if (lastSp != fullname || sp == null) { - lastSp = spName; + lastSp = fullname; sp = new StoredProcedure { IsTVF = isTVF, ```