Use FormatInfo rather than Format object
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user