Deveel.Data.Session.GetMetadata C# (CSharp) Method

GetMetadata() protected method

protected GetMetadata ( object>.Dictionary metadata ) : void
metadata object>.Dictionary
return void
        protected override void GetMetadata(Dictionary<string, object> metadata)
        {
            metadata[MetadataKeys.Session.UserName] = User.Name;
            metadata[MetadataKeys.Session.StartTimeUtc] = startedOn;
            metadata[MetadataKeys.Session.LastCommandTime] = lastCommandTime;
            metadata[MetadataKeys.Session.LastCommandText] = lastCommand != null ? lastCommand.Text : null;
            metadata[MetadataKeys.Session.LastCommandAffectedRows] = AffectedRows;
            metadata[MetadataKeys.Session.TimeZone] = tzOffset.ToString();
        }