private FileWorkingGroupTable GetFileWorkingGroupTable(IfbaApi.ResourceTable res, FileTable ft) { return new FileWorkingGroupTable() { WorkingGroupID = new Guid("21F11EFB-4EDE-4F62-B231-687C349C6365"), FileTable = ft, CreatedBy = res.CreatedBy, UpdatedBy = res.UpdatedBy, CreatedDateTime = res.CreatedDateTime, UpdatedDateTime = res.UpdatedDateTime, }; }
private FileLanguageTable GetFileLanguageTable(IfbaApi.ResourceTable res, FileTable ft) { return new FileLanguageTable() { LanguageId = Language.English, Name = res.Description, Description = res.Description, FileTable = ft, CreatedBy = res.CreatedBy, UpdatedBy = res.UpdatedBy, TableRowVersion = res.TableRowVersion, CreatedDateTime = res.CreatedDateTime, UpdatedDateTime = res.UpdatedDateTime, Tags = res.Path.Replace("\\", ", "), }; }
private AttachmentTable GetAttachmentTable(IfbaApi.ResourceTable res, FileTable ft) { return new AttachmentTable() { AttachmentId = res.ResourceID, CreatedBy = res.CreatedBy, UpdatedBy = res.UpdatedBy, TableRowVersion = res.TableRowVersion, CreatedDateTime = res.CreatedDateTime, UpdatedDateTime = res.UpdatedDateTime, Name = res.Filename, URL = "~/Uploads/Document/", FileTable = ft, }; }
partial void DeleteFileTable(FileTable instance);
partial void UpdateFileTable(FileTable instance);
partial void InsertFileTable(FileTable instance);