は、私はこれを示すチュートリアルを書きました:Implementing A SQL Server Database With The Microsoft Bot Framework
コードの重要な部分がある:あなたが保存する必要がありますどのような会話データ
// *************************
// Log to Database
// *************************
// Instantiate the BotData dbContext
Models.BotDataEntities DB = new Models.BotDataEntities();
// Create a new UserLog object
Models.UserLog NewUserLog = new Models.UserLog();
// Set the properties on the UserLog object
NewUserLog.Channel = activity.ChannelId;
NewUserLog.UserID = activity.From.Id;
NewUserLog.UserName = activity.From.Name;
NewUserLog.created = DateTime.UtcNow;
NewUserLog.Message = activity.Text;
// Add the UserLog object to UserLogs
DB.UserLogs.Add(NewUserLog);
// Save the changes to the database
DB.SaveChanges();
?会話全体? –
確認するには、ボットデータ(ユーザー、会話、プライベート会話のプロパティバッグ)をSQL Serverに保存しますか? –