public string GetStoredProcedurePrefix()
{
var s = (this.StoredProcedurePrefix + string.Empty).Trim();
if (string.IsNullOrEmpty(s))
s = ValidationHelper.MakeDatabaseIdentifier(s);
if (string.IsNullOrEmpty(s))
s = _def_storedProcedurePrefix;
return s;
}
ModelRoot::GetStoredProcedurePrefix ( |
public string GetParentStoredProcedureName(Table table, ModelRoot model, string moduleSuffix) { if (table.ParentTable == null) return ""; else return model.GetStoredProcedurePrefix() + "_" + table.ParentTable.PascalName + "_" + moduleSuffix + "Insert"; }