public SProcMap CreateStoredProcedureScripts(SqlSProcPublishSettings settings, IEnumerable<string> sprocFiles) {
var sprocMap = new SProcMap();
foreach (var rFilePath in sprocFiles) {
var sprocName = _fs.GetSProcNameFromTemplate(rFilePath);
if (!string.IsNullOrEmpty(sprocName)) {
string template;
if (settings.CodePlacement == RCodePlacement.Inline) {
template = FillSprocInlineTemplate(rFilePath, sprocName);
} else {
template = FillSprocTableTemplate(rFilePath, sprocName, settings.TableName, settings.QuoteType);
}
if (!string.IsNullOrEmpty(template)) {
sprocMap[sprocName] = template;
}
}
}
return sprocMap;
}