Otis wrote:
Do you use catalog name overwriting?
Where is this catalog overwriting option being set? In the App.config? I looked in there and there's nothing about catalog overwriting so I would say we are not using it.
FYI, we are using LLBLGen v.2.0.0.0 Final.
Also, how can I use the code example (below) you provided for testing? I pasted it into my project but all the class names and method calls (such as DataAccessAdapter, Assert, DynamicQueryEngine) are unrecognized. Is there a specific LLBLGen namespace that I should be using?
public void ProcNameManglingWithWackyProcNameTest()
{
string procName = "[emda_cms2].[dbo].[sp_CaseStudies#SetLiveStatus]";
DataAccessAdapter adapter = new DataAccessAdapter();
string newName = adapter.ProcNameChanger(procName);
Assert.AreEqual(procName, newName);
}
public string ProcNameChanger(string storedProcedureToCall)
{
DynamicQueryEngine dqe = (DynamicQueryEngine)CreateDynamicQueryEngine();
string procName = dqe.GetNewPerCallStoredProcedureName(storedProcedureToCall);
procName = DynamicQueryEngine.GetNewStoredProcedureName(procName);
return procName;
}