Пример #1
0
 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;
 }
Пример #2
0
 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;
 }