Esempio n. 1
0
 private async Task InternalSaveTranscript(int resourceId, string transcript)
 {
     var entity = new GameCopycatEntity2
     {
         PartitionKey    = KeyUtils.IntToKey(resourceId),
         RowKey          = KeyUtils.DateTimeToDescKey(DateTime.UtcNow),
         Transcript      = transcript,
         UserId          = this.GetUserId(),
         UserDisplayName = this.GetUserDisplayName(),
     };
     await AzureStorageUtils.InsertEntityAsync(AzureStorageUtils.TableNames.GameCopycat, entity);
 }