New Enhanced Document Properties
DB Command Line Parameter now supports server name and ItemIDs. Added File extension parameter to Make Document
This commit is contained in:
@@ -692,18 +692,19 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
public static Document New(string libTitle, byte[] docContent, string docAscii, string config)
|
||||
public static Document New(string libTitle, byte[] docContent, string docAscii, string config, string extension)
|
||||
{
|
||||
Document tmp = Document.New();
|
||||
tmp.LibTitle = libTitle;
|
||||
tmp.DocContent = docContent;
|
||||
tmp.DocAscii = docAscii;
|
||||
tmp.Config = config;
|
||||
tmp.FileExtension = extension;
|
||||
return tmp;
|
||||
}
|
||||
public static Document MakeDocument(string libTitle, byte[] docContent, string docAscii, string config)
|
||||
public static Document MakeDocument(string libTitle, byte[] docContent, string docAscii, string config, string extension)
|
||||
{
|
||||
Document tmp = Document.New(libTitle, docContent, docAscii, config);
|
||||
Document tmp = Document.New(libTitle, docContent, docAscii, config, extension);
|
||||
if (tmp.IsSavable)
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
|
Reference in New Issue
Block a user