public ObjectHistoryQueryResult(string partitionKey, ObjectHistoryEntity objectHistoryEntity) { Folder = objectHistoryEntity.Folder; RowKey = objectHistoryEntity.RowKey; ObjectName = partitionKey; ApplicationName = objectHistoryEntity.ApplicationName; ModifiedBy = objectHistoryEntity.User; ModifiedDate = objectHistoryEntity.OriginTimestamp; QueryResultType = QueryResultType.Object; }
public ObjectHistoryEntity(ObjectHistoryEntity objectHistoryEntity) { PartitionKey = objectHistoryEntity.PartitionKey; RowKey = objectHistoryEntity.RowKey; User = objectHistoryEntity.User; OriginTimestamp = objectHistoryEntity.OriginTimestamp; Folder = objectHistoryEntity.Folder; Timestamp = objectHistoryEntity.Timestamp; IsAdd = objectHistoryEntity.IsAdd; SecurityValidationToken = objectHistoryEntity.SecurityValidationToken; }