Use FormatInfo rather than Format object

This commit is contained in:
Rich
2009-10-08 14:24:34 +00:00
parent c5d2578ee9
commit 8804d367da
4 changed files with 38 additions and 32 deletions

View File

@@ -121,7 +121,7 @@ namespace DataLoader
}
}
}
public Format GetFormat(string format)
public FormatInfo GetFormat(string format)
{
Format parent = null;
Format rec = null;
@@ -153,7 +153,8 @@ namespace DataLoader
{
log.ErrorFormat("Error getting xml version of format {0}", ex.Message);
}
return rec;
FormatInfo recInfo = FormatInfo.Get(rec.FormatID);
return recInfo;
}
}