i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 1 m s )   [ P a r a m e t e r s = [ ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   " M i g r a t i o n I d " ,   " P r o d u c t V e r s i o n " 
 
             F R O M   " _ _ E F M i g r a t i o n s H i s t o r y " 
 
             O R D E R   B Y   " M i g r a t i o n I d " ; 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 4 m s )   [ P a r a m e t e r s = [ ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   1 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 2 m s )   [ P a r a m e t e r s = [ ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             C R E A T E   T A B L E   I F   N O T   E X I S T S   " _ _ E F M i g r a t i o n s H i s t o r y "   ( 
 
                     " M i g r a t i o n I d "   c h a r a c t e r   v a r y i n g ( 1 5 0 )   N O T   N U L L , 
 
                     " P r o d u c t V e r s i o n "   c h a r a c t e r   v a r y i n g ( 3 2 )   N O T   N U L L , 
 
                     C O N S T R A I N T   " P K _ _ _ E F M i g r a t i o n s H i s t o r y "   P R I M A R Y   K E Y   ( " M i g r a t i o n I d " ) 
 
             ) ; 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             L O C K   T A B L E   " _ _ E F M i g r a t i o n s H i s t o r y "   I N   A C C E S S   E X C L U S I V E   M O D E 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   " M i g r a t i o n I d " ,   " P r o d u c t V e r s i o n " 
 
             F R O M   " _ _ E F M i g r a t i o n s H i s t o r y " 
 
             O R D E R   B Y   " M i g r a t i o n I d " ; 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . M i g r a t i o n s [ 2 0 4 0 5 ] 
 
             N o   m i g r a t i o n s   w e r e   a p p l i e d .   T h e   d a t a b a s e   i s   a l r e a d y   u p   t o   d a t e . 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 0 m s )   [ P a r a m e t e r s = [ ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   " M i g r a t i o n I d " ,   " P r o d u c t V e r s i o n " 
 
             F R O M   " _ _ E F M i g r a t i o n s H i s t o r y " 
 
             O R D E R   B Y   " M i g r a t i o n I d " ; 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 0 m s )   [ P a r a m e t e r s = [ ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   1 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 0 m s )   [ P a r a m e t e r s = [ ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             C R E A T E   T A B L E   I F   N O T   E X I S T S   " _ _ E F M i g r a t i o n s H i s t o r y "   ( 
 
                     " M i g r a t i o n I d "   c h a r a c t e r   v a r y i n g ( 1 5 0 )   N O T   N U L L , 
 
                     " P r o d u c t V e r s i o n "   c h a r a c t e r   v a r y i n g ( 3 2 )   N O T   N U L L , 
 
                     C O N S T R A I N T   " P K _ _ _ E F M i g r a t i o n s H i s t o r y "   P R I M A R Y   K E Y   ( " M i g r a t i o n I d " ) 
 
             ) ; 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 0 m s )   [ P a r a m e t e r s = [ ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             L O C K   T A B L E   " _ _ E F M i g r a t i o n s H i s t o r y "   I N   A C C E S S   E X C L U S I V E   M O D E 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 0 m s )   [ P a r a m e t e r s = [ ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   " M i g r a t i o n I d " ,   " P r o d u c t V e r s i o n " 
 
             F R O M   " _ _ E F M i g r a t i o n s H i s t o r y " 
 
             O R D E R   B Y   " M i g r a t i o n I d " ; 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . M i g r a t i o n s [ 2 0 4 0 5 ] 
 
             N o   m i g r a t i o n s   w e r e   a p p l i e d .   T h e   d a t a b a s e   i s   a l r e a d y   u p   t o   d a t e . 
 
 w a r n :   M i c r o s o f t . A s p N e t C o r e . D a t a P r o t e c t i o n . R e p o s i t o r i e s . F i l e S y s t e m X m l R e p o s i t o r y [ 6 0 ] 
 
             S t o r i n g   k e y s   i n   a   d i r e c t o r y   ' / r o o t / . a s p n e t / D a t a P r o t e c t i o n - K e y s '   t h a t   m a y   n o t   b e   p e r s i s t e d   o u t s i d e   o f   t h e   c o n t a i n e r .   P r o t e c t e d   d a t a   w i l l   b e   u n a v a i l a b l e   w h e n   c o n t a i n e r   i s   d e s t r o y e d .   F o r   m o r e   i n f o r m a t i o n   g o   t o   h t t p s : / / a k a . m s / a s p n e t / d a t a p r o t e c t i o n w a r n i n g 
 
 w a r n :   M i c r o s o f t . A s p N e t C o r e . D a t a P r o t e c t i o n . K e y M a n a g e m e n t . X m l K e y M a n a g e r [ 3 5 ] 
 
             N o   X M L   e n c r y p t o r   c o n f i g u r e d .   K e y   { 8 7 7 5 b 2 6 9 - 4 0 5 7 - 4 2 2 c - 9 3 a e - 5 b 1 3 f 9 b 3 c 9 3 a }   m a y   b e   p e r s i s t e d   t o   s t o r a g e   i n   u n e n c r y p t e d   f o r m . 
 
 w a r n :   M i c r o s o f t . A s p N e t C o r e . H o s t i n g . D i a g n o s t i c s [ 1 5 ] 
 
             O v e r r i d i n g   H T T P _ P O R T S   ' 8 0 8 0 '   a n d   H T T P S _ P O R T S   ' ' .   B i n d i n g   t o   v a l u e s   d e f i n e d   b y   U R L S   i n s t e a d   ' h t t p : / / + : 8 0 8 0 ' . 
 
 i n f o :   M i c r o s o f t . H o s t i n g . L i f e t i m e [ 1 4 ] 
 
             N o w   l i s t e n i n g   o n :   h t t p : / / [ : : ] : 8 0 8 0 
 
 i n f o :   M i c r o s o f t . H o s t i n g . L i f e t i m e [ 0 ] 
 
             A p p l i c a t i o n   s t a r t e d .   P r e s s   C t r l + C   t o   s h u t   d o w n . 
 
 i n f o :   M i c r o s o f t . H o s t i n g . L i f e t i m e [ 0 ] 
 
             H o s t i n g   e n v i r o n m e n t :   P r o d u c t i o n 
 
 i n f o :   M i c r o s o f t . H o s t i n g . L i f e t i m e [ 0 ] 
 
             C o n t e n t   r o o t   p a t h :   / a p p 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 6 m s )   [ P a r a m e t e r s = [ @ u s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   c . " I d " ,   c . " A v a t a r " ,   c . " C r e a t e d A t " ,   c . " D e s c r i p t i o n " ,   c . " N a m e " ,   c . " T y p e " ,   c 1 . " I d " ,   c 1 . " C h a t I d " ,   c 1 . " I s M u t e d " ,   c 1 . " I s P i n n e d " ,   c 1 . " J o i n e d A t " ,   c 1 . " R o l e " ,   c 1 . " U s e r I d " 
 
             F R O M   c h a t s . " C h a t s "   A S   c 
 
             L E F T   J O I N   c h a t s . " C h a t M e m b e r s "   A S   c 1   O N   c . " I d "   =   c 1 . " C h a t I d " 
 
             W H E R E   E X I S T S   ( 
 
                     S E L E C T   1 
 
                     F R O M   c h a t s . " C h a t M e m b e r s "   A S   c 0 
 
                     W H E R E   c . " I d "   =   c 0 . " C h a t I d "   A N D   c 0 . " U s e r I d "   =   @ u s e r I d ) 
 
             O R D E R   B Y   c . " C r e a t e d A t "   D E S C ,   c . " I d " 
 
 i n f o :   K n o t . M o d u l e s . C h a t s . I n f r a s t r u c t u r e . S i g n a l R . C h a t H u b [ 0 ] 
 
             U s e r   d a 2 5 c 0 f d - 8 6 c f - 4 8 7 d - b 3 8 d - 7 7 b 1 c 1 b a 6 d 5 e   c o n n e c t e d   w i t h   6 a S 0 4 4 G 6 V p T A 7 J X 6 V C _ W R A ,   a d d e d   t o   1   c h a t s 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 w a r n :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . Q u e r y [ 2 0 5 0 4 ] 
 
             C o m p i l i n g   a   q u e r y   w h i c h   l o a d s   r e l a t e d   c o l l e c t i o n s   f o r   m o r e   t h a n   o n e   c o l l e c t i o n   n a v i g a t i o n ,   e i t h e r   v i a   ' I n c l u d e '   o r   t h r o u g h   p r o j e c t i o n ,   b u t   n o   ' Q u e r y S p l i t t i n g B e h a v i o r '   h a s   b e e n   c o n f i g u r e d .   B y   d e f a u l t ,   E n t i t y   F r a m e w o r k   w i l l   u s e   ' Q u e r y S p l i t t i n g B e h a v i o r . S i n g l e Q u e r y ' ,   w h i c h   c a n   p o t e n t i a l l y   r e s u l t   i n   s l o w   q u e r y   p e r f o r m a n c e .   S e e   h t t p s : / / g o . m i c r o s o f t . c o m / f w l i n k / ? l i n k i d = 2 1 3 4 2 7 7   f o r   m o r e   i n f o r m a t i o n .   T o   i d e n t i f y   t h e   q u e r y   t h a t ' s   t r i g g e r i n g   t h i s   w a r n i n g   c a l l   ' C o n f i g u r e W a r n i n g s ( w   = >   w . T h r o w ( R e l a t i o n a l E v e n t I d . M u l t i p l e C o l l e c t i o n I n c l u d e W a r n i n g ) ) ' . 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 3 2 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 i n f o :   K n o t . M o d u l e s . C h a t s . I n f r a s t r u c t u r e . S i g n a l R . C h a t H u b [ 0 ] 
 
             U s e r   d a 2 5 c 0 f d - 8 6 c f - 4 8 7 d - b 3 8 d - 7 7 b 1 c 1 b a 6 d 5 e   d i s c o n n e c t e d 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ i d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   u . " I d " ,   u . " A v a t a r " ,   u . " B i o " ,   u . " B i r t h d a y " ,   u . " C r e a t e d A t " ,   u . " D i s p l a y N a m e " ,   u . " E m a i l " ,   u . " H i d e S t o r y V i e w s " ,   u . " P a s s w o r d H a s h " ,   u . " U s e r n a m e " 
 
             F R O M   i d e n t i t y . " U s e r s "   A S   u 
 
             W H E R E   u . " I d "   =   @ i d 
 
             L I M I T   1 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 0 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ u s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   c . " I d " ,   c . " A v a t a r " ,   c . " C r e a t e d A t " ,   c . " D e s c r i p t i o n " ,   c . " N a m e " ,   c . " T y p e " ,   c 1 . " I d " ,   c 1 . " C h a t I d " ,   c 1 . " I s M u t e d " ,   c 1 . " I s P i n n e d " ,   c 1 . " J o i n e d A t " ,   c 1 . " R o l e " ,   c 1 . " U s e r I d " 
 
             F R O M   c h a t s . " C h a t s "   A S   c 
 
             L E F T   J O I N   c h a t s . " C h a t M e m b e r s "   A S   c 1   O N   c . " I d "   =   c 1 . " C h a t I d " 
 
             W H E R E   E X I S T S   ( 
 
                     S E L E C T   1 
 
                     F R O M   c h a t s . " C h a t M e m b e r s "   A S   c 0 
 
                     W H E R E   c . " I d "   =   c 0 . " C h a t I d "   A N D   c 0 . " U s e r I d "   =   @ u s e r I d ) 
 
             O R D E R   B Y   c . " C r e a t e d A t "   D E S C ,   c . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 0 m s )   [ P a r a m e t e r s = [ @ i d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   u . " I d " ,   u . " A v a t a r " ,   u . " B i o " ,   u . " B i r t h d a y " ,   u . " C r e a t e d A t " ,   u . " D i s p l a y N a m e " ,   u . " E m a i l " ,   u . " H i d e S t o r y V i e w s " ,   u . " P a s s w o r d H a s h " ,   u . " U s e r n a m e " 
 
             F R O M   i d e n t i t y . " U s e r s "   A S   u 
 
             W H E R E   u . " I d "   =   @ i d 
 
             L I M I T   1 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ u s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   c . " I d " ,   c . " A v a t a r " ,   c . " C r e a t e d A t " ,   c . " D e s c r i p t i o n " ,   c . " N a m e " ,   c . " T y p e " ,   c 1 . " I d " ,   c 1 . " C h a t I d " ,   c 1 . " I s M u t e d " ,   c 1 . " I s P i n n e d " ,   c 1 . " J o i n e d A t " ,   c 1 . " R o l e " ,   c 1 . " U s e r I d " 
 
             F R O M   c h a t s . " C h a t s "   A S   c 
 
             L E F T   J O I N   c h a t s . " C h a t M e m b e r s "   A S   c 1   O N   c . " I d "   =   c 1 . " C h a t I d " 
 
             W H E R E   E X I S T S   ( 
 
                     S E L E C T   1 
 
                     F R O M   c h a t s . " C h a t M e m b e r s "   A S   c 0 
 
                     W H E R E   c . " I d "   =   c 0 . " C h a t I d "   A N D   c 0 . " U s e r I d "   =   @ u s e r I d ) 
 
             O R D E R   B Y   c . " C r e a t e d A t "   D E S C ,   c . " I d " 
 
 i n f o :   K n o t . M o d u l e s . C h a t s . I n f r a s t r u c t u r e . S i g n a l R . C h a t H u b [ 0 ] 
 
             U s e r   d a 2 5 c 0 f d - 8 6 c f - 4 8 7 d - b 3 8 d - 7 7 b 1 c 1 b a 6 d 5 e   c o n n e c t e d   w i t h   P I o m f o a H H Y B F T G 6 7 G 4 K - U w ,   a d d e d   t o   1   c h a t s 
 
 w a r n :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . Q u e r y [ 2 0 5 0 4 ] 
 
             C o m p i l i n g   a   q u e r y   w h i c h   l o a d s   r e l a t e d   c o l l e c t i o n s   f o r   m o r e   t h a n   o n e   c o l l e c t i o n   n a v i g a t i o n ,   e i t h e r   v i a   ' I n c l u d e '   o r   t h r o u g h   p r o j e c t i o n ,   b u t   n o   ' Q u e r y S p l i t t i n g B e h a v i o r '   h a s   b e e n   c o n f i g u r e d .   B y   d e f a u l t ,   E n t i t y   F r a m e w o r k   w i l l   u s e   ' Q u e r y S p l i t t i n g B e h a v i o r . S i n g l e Q u e r y ' ,   w h i c h   c a n   p o t e n t i a l l y   r e s u l t   i n   s l o w   q u e r y   p e r f o r m a n c e .   S e e   h t t p s : / / g o . m i c r o s o f t . c o m / f w l i n k / ? l i n k i d = 2 1 3 4 2 7 7   f o r   m o r e   i n f o r m a t i o n .   T o   i d e n t i f y   t h e   q u e r y   t h a t ' s   t r i g g e r i n g   t h i s   w a r n i n g   c a l l   ' C o n f i g u r e W a r n i n g s ( w   = >   w . T h r o w ( R e l a t i o n a l E v e n t I d . M u l t i p l e C o l l e c t i o n I n c l u d e W a r n i n g ) ) ' . 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 2 m s )   [ P a r a m e t e r s = [ @ c h a t I d = ' ? '   ( D b T y p e   =   G u i d ) ,   @ p 2 = ' ? '   ( D b T y p e   =   I n t 3 2 ) ,   @ p = ' ? '   ( D b T y p e   =   I n t 3 2 ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   m 2 . " I d " ,   m 2 . " C h a t I d " ,   m 2 . " C o n t e n t " ,   m 2 . " C r e a t e d A t " ,   m 2 . " D e l e t e d B y U s e r s " ,   m 2 . " F o r w a r d e d F r o m I d " ,   m 2 . " I s D e l e t e d " ,   m 2 . " I s E d i t e d " ,   m 2 . " Q u o t e " ,   m 2 . " R e p l y T o I d " ,   m 2 . " S e n d e r I d " ,   m 2 . " S t o r y I d " ,   m 2 . " S t o r y M e d i a T y p e " ,   m 2 . " S t o r y M e d i a U r l " ,   m 2 . " T y p e " ,   m 0 . " M e s s a g e I d " ,   m 0 . " I d " ,   m 0 . " F i l e n a m e " ,   m 0 . " S i z e " ,   m 0 . " T y p e " ,   m 0 . " U r l " ,   r . " I d " ,   r . " M e s s a g e I d " ,   r . " R e a d A t " ,   r . " U s e r I d " ,   m 1 . " I d " ,   m 1 . " E m o j i " ,   m 1 . " M e s s a g e I d " ,   m 1 . " U s e r I d " 
 
             F R O M   ( 
 
                     S E L E C T   m . " I d " ,   m . " C h a t I d " ,   m . " C o n t e n t " ,   m . " C r e a t e d A t " ,   m . " D e l e t e d B y U s e r s " ,   m . " F o r w a r d e d F r o m I d " ,   m . " I s D e l e t e d " ,   m . " I s E d i t e d " ,   m . " Q u o t e " ,   m . " R e p l y T o I d " ,   m . " S e n d e r I d " ,   m . " S t o r y I d " ,   m . " S t o r y M e d i a T y p e " ,   m . " S t o r y M e d i a U r l " ,   m . " T y p e " 
 
                     F R O M   c h a t s . " M e s s a g e s "   A S   m 
 
                     W H E R E   m . " C h a t I d "   =   @ c h a t I d 
 
                     O R D E R   B Y   m . " C r e a t e d A t "   D E S C 
 
                     L I M I T   @ p 2   O F F S E T   @ p 
 
             )   A S   m 2 
 
             L E F T   J O I N   c h a t s . " M e s s a g e M e d i a "   A S   m 0   O N   m 2 . " I d "   =   m 0 . " M e s s a g e I d " 
 
             L E F T   J O I N   c h a t s . " R e a d R e c e i p t s "   A S   r   O N   m 2 . " I d "   =   r . " M e s s a g e I d " 
 
             L E F T   J O I N   c h a t s . " M e s s a g e R e a c t i o n s "   A S   m 1   O N   m 2 . " I d "   =   m 1 . " M e s s a g e I d " 
 
             O R D E R   B Y   m 2 . " C r e a t e d A t "   D E S C ,   m 2 . " I d " ,   m 0 . " M e s s a g e I d " ,   m 0 . " I d " ,   r . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 0 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 0 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 0 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 0 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ c h a t I d = ' ? '   ( D b T y p e   =   G u i d ) ,   @ p 2 = ' ? '   ( D b T y p e   =   I n t 3 2 ) ,   @ p = ' ? '   ( D b T y p e   =   I n t 3 2 ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   m 2 . " I d " ,   m 2 . " C h a t I d " ,   m 2 . " C o n t e n t " ,   m 2 . " C r e a t e d A t " ,   m 2 . " D e l e t e d B y U s e r s " ,   m 2 . " F o r w a r d e d F r o m I d " ,   m 2 . " I s D e l e t e d " ,   m 2 . " I s E d i t e d " ,   m 2 . " Q u o t e " ,   m 2 . " R e p l y T o I d " ,   m 2 . " S e n d e r I d " ,   m 2 . " S t o r y I d " ,   m 2 . " S t o r y M e d i a T y p e " ,   m 2 . " S t o r y M e d i a U r l " ,   m 2 . " T y p e " ,   m 0 . " M e s s a g e I d " ,   m 0 . " I d " ,   m 0 . " F i l e n a m e " ,   m 0 . " S i z e " ,   m 0 . " T y p e " ,   m 0 . " U r l " ,   r . " I d " ,   r . " M e s s a g e I d " ,   r . " R e a d A t " ,   r . " U s e r I d " ,   m 1 . " I d " ,   m 1 . " E m o j i " ,   m 1 . " M e s s a g e I d " ,   m 1 . " U s e r I d " 
 
             F R O M   ( 
 
                     S E L E C T   m . " I d " ,   m . " C h a t I d " ,   m . " C o n t e n t " ,   m . " C r e a t e d A t " ,   m . " D e l e t e d B y U s e r s " ,   m . " F o r w a r d e d F r o m I d " ,   m . " I s D e l e t e d " ,   m . " I s E d i t e d " ,   m . " Q u o t e " ,   m . " R e p l y T o I d " ,   m . " S e n d e r I d " ,   m . " S t o r y I d " ,   m . " S t o r y M e d i a T y p e " ,   m . " S t o r y M e d i a U r l " ,   m . " T y p e " 
 
                     F R O M   c h a t s . " M e s s a g e s "   A S   m 
 
                     W H E R E   m . " C h a t I d "   =   @ c h a t I d 
 
                     O R D E R   B Y   m . " C r e a t e d A t "   D E S C 
 
                     L I M I T   @ p 2   O F F S E T   @ p 
 
             )   A S   m 2 
 
             L E F T   J O I N   c h a t s . " M e s s a g e M e d i a "   A S   m 0   O N   m 2 . " I d "   =   m 0 . " M e s s a g e I d " 
 
             L E F T   J O I N   c h a t s . " R e a d R e c e i p t s "   A S   r   O N   m 2 . " I d "   =   r . " M e s s a g e I d " 
 
             L E F T   J O I N   c h a t s . " M e s s a g e R e a c t i o n s "   A S   m 1   O N   m 2 . " I d "   =   m 1 . " M e s s a g e I d " 
 
             O R D E R   B Y   m 2 . " C r e a t e d A t "   D E S C ,   m 2 . " I d " ,   m 0 . " M e s s a g e I d " ,   m 0 . " I d " ,   r . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 2 m s )   [ P a r a m e t e r s = [ @ i d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   c 1 . " I d " ,   c 1 . " A v a t a r " ,   c 1 . " C r e a t e d A t " ,   c 1 . " D e s c r i p t i o n " ,   c 1 . " N a m e " ,   c 1 . " T y p e " ,   c 0 . " I d " ,   c 0 . " C h a t I d " ,   c 0 . " I s M u t e d " ,   c 0 . " I s P i n n e d " ,   c 0 . " J o i n e d A t " ,   c 0 . " R o l e " ,   c 0 . " U s e r I d " 
 
             F R O M   ( 
 
                     S E L E C T   c . " I d " ,   c . " A v a t a r " ,   c . " C r e a t e d A t " ,   c . " D e s c r i p t i o n " ,   c . " N a m e " ,   c . " T y p e " 
 
                     F R O M   c h a t s . " C h a t s "   A S   c 
 
                     W H E R E   c . " I d "   =   @ i d 
 
                     L I M I T   1 
 
             )   A S   c 1 
 
             L E F T   J O I N   c h a t s . " C h a t M e m b e r s "   A S   c 0   O N   c 1 . " I d "   =   c 0 . " C h a t I d " 
 
             O R D E R   B Y   c 1 . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 4 m s )   [ P a r a m e t e r s = [ @ p 0 = ' ? '   ( D b T y p e   =   G u i d ) ,   @ p 1 = ' ? '   ( D b T y p e   =   G u i d ) ,   @ p 2 = ' ? ' ,   @ p 3 = ' ? '   ( D b T y p e   =   D a t e T i m e ) ,   @ p 4 = ' ? '   ( D b T y p e   =   O b j e c t ) ,   @ p 5 = ' ? '   ( D b T y p e   =   G u i d ) ,   @ p 6 = ' ? '   ( D b T y p e   =   B o o l e a n ) ,   @ p 7 = ' ? '   ( D b T y p e   =   B o o l e a n ) ,   @ p 8 = ' ? ' ,   @ p 9 = ' ? '   ( D b T y p e   =   G u i d ) ,   @ p 1 0 = ' ? '   ( D b T y p e   =   G u i d ) ,   @ p 1 1 = ' ? '   ( D b T y p e   =   G u i d ) ,   @ p 1 2 = ' ? ' ,   @ p 1 3 = ' ? ' ,   @ p 1 4 = ' ? ' ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             I N S E R T   I N T O   c h a t s . " M e s s a g e s "   ( " I d " ,   " C h a t I d " ,   " C o n t e n t " ,   " C r e a t e d A t " ,   " D e l e t e d B y U s e r s " ,   " F o r w a r d e d F r o m I d " ,   " I s D e l e t e d " ,   " I s E d i t e d " ,   " Q u o t e " ,   " R e p l y T o I d " ,   " S e n d e r I d " ,   " S t o r y I d " ,   " S t o r y M e d i a T y p e " ,   " S t o r y M e d i a U r l " ,   " T y p e " ) 
 
             V A L U E S   ( @ p 0 ,   @ p 1 ,   @ p 2 ,   @ p 3 ,   @ p 4 ,   @ p 5 ,   @ p 6 ,   @ p 7 ,   @ p 8 ,   @ p 9 ,   @ p 1 0 ,   @ p 1 1 ,   @ p 1 2 ,   @ p 1 3 ,   @ p 1 4 ) ; 
 
 w a r n :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . Q u e r y [ 2 0 5 0 4 ] 
 
             C o m p i l i n g   a   q u e r y   w h i c h   l o a d s   r e l a t e d   c o l l e c t i o n s   f o r   m o r e   t h a n   o n e   c o l l e c t i o n   n a v i g a t i o n ,   e i t h e r   v i a   ' I n c l u d e '   o r   t h r o u g h   p r o j e c t i o n ,   b u t   n o   ' Q u e r y S p l i t t i n g B e h a v i o r '   h a s   b e e n   c o n f i g u r e d .   B y   d e f a u l t ,   E n t i t y   F r a m e w o r k   w i l l   u s e   ' Q u e r y S p l i t t i n g B e h a v i o r . S i n g l e Q u e r y ' ,   w h i c h   c a n   p o t e n t i a l l y   r e s u l t   i n   s l o w   q u e r y   p e r f o r m a n c e .   S e e   h t t p s : / / g o . m i c r o s o f t . c o m / f w l i n k / ? l i n k i d = 2 1 3 4 2 7 7   f o r   m o r e   i n f o r m a t i o n .   T o   i d e n t i f y   t h e   q u e r y   t h a t ' s   t r i g g e r i n g   t h i s   w a r n i n g   c a l l   ' C o n f i g u r e W a r n i n g s ( w   = >   w . T h r o w ( R e l a t i o n a l E v e n t I d . M u l t i p l e C o l l e c t i o n I n c l u d e W a r n i n g ) ) ' . 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ i d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   m 2 . " I d " ,   m 2 . " C h a t I d " ,   m 2 . " C o n t e n t " ,   m 2 . " C r e a t e d A t " ,   m 2 . " D e l e t e d B y U s e r s " ,   m 2 . " F o r w a r d e d F r o m I d " ,   m 2 . " I s D e l e t e d " ,   m 2 . " I s E d i t e d " ,   m 2 . " Q u o t e " ,   m 2 . " R e p l y T o I d " ,   m 2 . " S e n d e r I d " ,   m 2 . " S t o r y I d " ,   m 2 . " S t o r y M e d i a T y p e " ,   m 2 . " S t o r y M e d i a U r l " ,   m 2 . " T y p e " ,   m 0 . " M e s s a g e I d " ,   m 0 . " I d " ,   m 0 . " F i l e n a m e " ,   m 0 . " S i z e " ,   m 0 . " T y p e " ,   m 0 . " U r l " ,   r . " I d " ,   r . " M e s s a g e I d " ,   r . " R e a d A t " ,   r . " U s e r I d " ,   m 1 . " I d " ,   m 1 . " E m o j i " ,   m 1 . " M e s s a g e I d " ,   m 1 . " U s e r I d " 
 
             F R O M   ( 
 
                     S E L E C T   m . " I d " ,   m . " C h a t I d " ,   m . " C o n t e n t " ,   m . " C r e a t e d A t " ,   m . " D e l e t e d B y U s e r s " ,   m . " F o r w a r d e d F r o m I d " ,   m . " I s D e l e t e d " ,   m . " I s E d i t e d " ,   m . " Q u o t e " ,   m . " R e p l y T o I d " ,   m . " S e n d e r I d " ,   m . " S t o r y I d " ,   m . " S t o r y M e d i a T y p e " ,   m . " S t o r y M e d i a U r l " ,   m . " T y p e " 
 
                     F R O M   c h a t s . " M e s s a g e s "   A S   m 
 
                     W H E R E   m . " I d "   =   @ i d 
 
                     L I M I T   1 
 
             )   A S   m 2 
 
             L E F T   J O I N   c h a t s . " M e s s a g e M e d i a "   A S   m 0   O N   m 2 . " I d "   =   m 0 . " M e s s a g e I d " 
 
             L E F T   J O I N   c h a t s . " R e a d R e c e i p t s "   A S   r   O N   m 2 . " I d "   =   r . " M e s s a g e I d " 
 
             L E F T   J O I N   c h a t s . " M e s s a g e R e a c t i o n s "   A S   m 1   O N   m 2 . " I d "   =   m 1 . " M e s s a g e I d " 
 
             O R D E R   B Y   m 2 . " I d " ,   m 0 . " M e s s a g e I d " ,   m 0 . " I d " ,   r . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ i d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   u . " I d " ,   u . " A v a t a r " ,   u . " B i o " ,   u . " B i r t h d a y " ,   u . " C r e a t e d A t " ,   u . " D i s p l a y N a m e " ,   u . " E m a i l " ,   u . " H i d e S t o r y V i e w s " ,   u . " P a s s w o r d H a s h " ,   u . " U s e r n a m e " 
 
             F R O M   i d e n t i t y . " U s e r s "   A S   u 
 
             W H E R E   u . " I d "   =   @ i d 
 
             L I M I T   1 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 2 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 f a i l :   K n o t . S h a r e d . I n f r a s t r u c t u r e . M i d d l e w a r e . E x c e p t i o n H a n d l i n g M i d d l e w a r e [ 0 ] 
 
             A n   u n h a n d l e d   e x c e p t i o n   h a s   o c c u r r e d . 
 
             S y s t e m . N e t . H t t p . H t t p R e q u e s t E x c e p t i o n :   T h e   S S L   c o n n e c t i o n   c o u l d   n o t   b e   e s t a b l i s h e d ,   s e e   i n n e r   e x c e p t i o n . 
 
               - - - >   S y s t e m . S e c u r i t y . A u t h e n t i c a t i o n . A u t h e n t i c a t i o n E x c e p t i o n :   C a n n o t   d e t e r m i n e   t h e   f r a m e   s i z e   o r   a   c o r r u p t e d   f r a m e   w a s   r e c e i v e d . 
 
                   a t   S y s t e m . N e t . S e c u r i t y . S s l S t r e a m . G e t F r a m e S i z e ( R e a d O n l y S p a n ` 1   b u f f e r ) 
 
                   a t   S y s t e m . N e t . S e c u r i t y . S s l S t r e a m . E n s u r e F u l l T l s F r a m e A s y n c [ T I O A d a p t e r ] ( C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ,   I n t 3 2   e s t i m a t e d S i z e ) 
 
                   a t   S y s t e m . R u n t i m e . C o m p i l e r S e r v i c e s . P o o l i n g A s y n c V a l u e T a s k M e t h o d B u i l d e r ` 1 . S t a t e M a c h i n e B o x ` 1 . S y s t e m . T h r e a d i n g . T a s k s . S o u r c e s . I V a l u e T a s k S o u r c e < T R e s u l t > . G e t R e s u l t ( I n t 1 6   t o k e n ) 
 
                   a t   S y s t e m . N e t . S e c u r i t y . S s l S t r e a m . R e c e i v e H a n d s h a k e F r a m e A s y n c [ T I O A d a p t e r ] ( C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   a t   S y s t e m . N e t . S e c u r i t y . S s l S t r e a m . F o r c e A u t h e n t i c a t i o n A s y n c [ T I O A d a p t e r ] ( B o o l e a n   r e c e i v e F i r s t ,   B y t e [ ]   r e A u t h e n t i c a t i o n D a t a ,   C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   a t   S y s t e m . N e t . H t t p . C o n n e c t H e l p e r . E s t a b l i s h S s l C o n n e c t i o n A s y n c ( S s l C l i e n t A u t h e n t i c a t i o n O p t i o n s   s s l O p t i o n s ,   H t t p R e q u e s t M e s s a g e   r e q u e s t ,   B o o l e a n   a s y n c ,   S t r e a m   s t r e a m ,   C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   - - -   E n d   o f   i n n e r   e x c e p t i o n   s t a c k   t r a c e   - - - 
 
                   a t   S y s t e m . N e t . H t t p . C o n n e c t H e l p e r . E s t a b l i s h S s l C o n n e c t i o n A s y n c ( S s l C l i e n t A u t h e n t i c a t i o n O p t i o n s   s s l O p t i o n s ,   H t t p R e q u e s t M e s s a g e   r e q u e s t ,   B o o l e a n   a s y n c ,   S t r e a m   s t r e a m ,   C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   a t   S y s t e m . N e t . H t t p . H t t p C o n n e c t i o n P o o l . C o n n e c t A s y n c ( H t t p R e q u e s t M e s s a g e   r e q u e s t ,   B o o l e a n   a s y n c ,   C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   a t   S y s t e m . N e t . H t t p . H t t p C o n n e c t i o n P o o l . C r e a t e H t t p 1 1 C o n n e c t i o n A s y n c ( H t t p R e q u e s t M e s s a g e   r e q u e s t ,   B o o l e a n   a s y n c ,   C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   a t   S y s t e m . N e t . H t t p . H t t p C o n n e c t i o n P o o l . I n j e c t N e w H t t p 1 1 C o n n e c t i o n A s y n c ( Q u e u e I t e m   q u e u e I t e m ) 
 
                   a t   S y s t e m . T h r e a d i n g . T a s k s . T a s k C o m p l e t i o n S o u r c e W i t h C a n c e l l a t i o n ` 1 . W a i t W i t h C a n c e l l a t i o n A s y n c ( C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   a t   S y s t e m . N e t . H t t p . H t t p C o n n e c t i o n P o o l . S e n d W i t h V e r s i o n D e t e c t i o n A n d R e t r y A s y n c ( H t t p R e q u e s t M e s s a g e   r e q u e s t ,   B o o l e a n   a s y n c ,   B o o l e a n   d o R e q u e s t A u t h ,   C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   a t   S y s t e m . N e t . H t t p . D i a g n o s t i c s H a n d l e r . S e n d A s y n c C o r e ( H t t p R e q u e s t M e s s a g e   r e q u e s t ,   B o o l e a n   a s y n c ,   C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   a t   S y s t e m . N e t . H t t p . R e d i r e c t H a n d l e r . S e n d A s y n c ( H t t p R e q u e s t M e s s a g e   r e q u e s t ,   B o o l e a n   a s y n c ,   C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   a t   S y s t e m . N e t . H t t p . S o c k e t s H t t p H a n d l e r . < S e n d A s y n c > g _ _ C r e a t e H a n d l e r A n d S e n d A s y n c | 1 1 5 _ 0 ( H t t p R e q u e s t M e s s a g e   r e q u e s t ,   C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   a t   S y s t e m . N e t . H t t p . H t t p C l i e n t . < S e n d A s y n c > g _ _ C o r e | 8 3 _ 0 ( H t t p R e q u e s t M e s s a g e   r e q u e s t ,   H t t p C o m p l e t i o n O p t i o n   c o m p l e t i o n O p t i o n ,   C a n c e l l a t i o n T o k e n S o u r c e   c t s ,   B o o l e a n   d i s p o s e C t s ,   C a n c e l l a t i o n T o k e n S o u r c e   p e n d i n g R e q u e s t s C t s ,   C a n c e l l a t i o n T o k e n   o r i g i n a l C a n c e l l a t i o n T o k e n ) 
 
                   a t   M i n i o . R e q u e s t E x t e n s i o n s . E x e c u t e T a s k C o r e A s y n c ( I M i n i o C l i e n t   m i n i o C l i e n t ,   H t t p R e q u e s t M e s s a g e B u i l d e r   r e q u e s t M e s s a g e B u i l d e r ,   B o o l e a n   i s S t s ,   C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   a t   M i n i o . R e q u e s t E x t e n s i o n s . < > c _ _ D i s p l a y C l a s s 2 _ 0 . < < E x e c u t e T a s k A s y n c > b _ _ 0 > d . M o v e N e x t ( ) 
 
             - - -   E n d   o f   s t a c k   t r a c e   f r o m   p r e v i o u s   l o c a t i o n   - - - 
 
                   a t   M i n i o . R e q u e s t E x t e n s i o n s . E x e c u t e W i t h R e t r y ( I M i n i o C l i e n t   m i n i o C l i e n t ,   F u n c ` 1   e x e c u t e R e q u e s t C a l l b a c k ) 
 
                   a t   M i n i o . R e q u e s t E x t e n s i o n s . E x e c u t e T a s k A s y n c ( I M i n i o C l i e n t   m i n i o C l i e n t ,   H t t p R e q u e s t M e s s a g e B u i l d e r   r e q u e s t M e s s a g e B u i l d e r ,   B o o l e a n   i s S t s ,   C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   a t   M i n i o . M i n i o C l i e n t . B u c k e t E x i s t s A s y n c ( B u c k e t E x i s t s A r g s   a r g s ,   C a n c e l l a t i o n T o k e n   c a n c e l l a t i o n T o k e n ) 
 
                   a t   K n o t . S h a r e d . K e r n e l . S t o r a g e . S 3 F i l e S t o r a g e S e r v i c e . E n s u r e B u c k e t E x i s t s A s y n c ( )   i n   / a p p / a p p s / s e r v e r - n e t / s r c / S h a r e d / K n o t . S h a r e d . I n f r a s t r u c t u r e / S t o r a g e / S 3 F i l e S t o r a g e S e r v i c e . c s : l i n e   3 1 
 
                   a t   K n o t . S h a r e d . K e r n e l . S t o r a g e . S 3 F i l e S t o r a g e S e r v i c e . U p l o a d F i l e A s y n c ( S t r e a m   f i l e S t r e a m ,   S t r i n g   f i l e N a m e ,   S t r i n g   c o n t e n t T y p e )   i n   / a p p / a p p s / s e r v e r - n e t / s r c / S h a r e d / K n o t . S h a r e d . I n f r a s t r u c t u r e / S t o r a g e / S 3 F i l e S t o r a g e S e r v i c e . c s : l i n e   4 6 
 
                   a t   H o s t . C o n t r o l l e r s . M e s s a g e s C o n t r o l l e r . U p l o a d F i l e ( I F o r m F i l e   f i l e ,   I F i l e S t o r a g e S e r v i c e   f i l e S t o r a g e )   i n   / a p p / a p p s / s e r v e r - n e t / s r c / H o s t / C o n t r o l l e r s / M e s s a g e s C o n t r o l l e r . c s : l i n e   1 9 5 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . M v c . I n f r a s t r u c t u r e . A c t i o n M e t h o d E x e c u t o r . T a s k O f I A c t i o n R e s u l t E x e c u t o r . E x e c u t e ( A c t i o n C o n t e x t   a c t i o n C o n t e x t ,   I A c t i o n R e s u l t T y p e M a p p e r   m a p p e r ,   O b j e c t M e t h o d E x e c u t o r   e x e c u t o r ,   O b j e c t   c o n t r o l l e r ,   O b j e c t [ ]   a r g u m e n t s ) 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . M v c . I n f r a s t r u c t u r e . C o n t r o l l e r A c t i o n I n v o k e r . < I n v o k e A c t i o n M e t h o d A s y n c > g _ _ A w a i t e d | 1 2 _ 0 ( C o n t r o l l e r A c t i o n I n v o k e r   i n v o k e r ,   V a l u e T a s k ` 1   a c t i o n R e s u l t V a l u e T a s k ) 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . M v c . I n f r a s t r u c t u r e . C o n t r o l l e r A c t i o n I n v o k e r . < I n v o k e N e x t A c t i o n F i l t e r A s y n c > g _ _ A w a i t e d | 1 0 _ 0 ( C o n t r o l l e r A c t i o n I n v o k e r   i n v o k e r ,   T a s k   l a s t T a s k ,   S t a t e   n e x t ,   S c o p e   s c o p e ,   O b j e c t   s t a t e ,   B o o l e a n   i s C o m p l e t e d ) 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . M v c . I n f r a s t r u c t u r e . C o n t r o l l e r A c t i o n I n v o k e r . R e t h r o w ( A c t i o n E x e c u t e d C o n t e x t S e a l e d   c o n t e x t ) 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . M v c . I n f r a s t r u c t u r e . C o n t r o l l e r A c t i o n I n v o k e r . N e x t ( S t a t e &   n e x t ,   S c o p e &   s c o p e ,   O b j e c t &   s t a t e ,   B o o l e a n &   i s C o m p l e t e d ) 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . M v c . I n f r a s t r u c t u r e . C o n t r o l l e r A c t i o n I n v o k e r . < I n v o k e I n n e r F i l t e r A s y n c > g _ _ A w a i t e d | 1 3 _ 0 ( C o n t r o l l e r A c t i o n I n v o k e r   i n v o k e r ,   T a s k   l a s t T a s k ,   S t a t e   n e x t ,   S c o p e   s c o p e ,   O b j e c t   s t a t e ,   B o o l e a n   i s C o m p l e t e d ) 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . M v c . I n f r a s t r u c t u r e . R e s o u r c e I n v o k e r . < I n v o k e N e x t R e s o u r c e F i l t e r > g _ _ A w a i t e d | 2 5 _ 0 ( R e s o u r c e I n v o k e r   i n v o k e r ,   T a s k   l a s t T a s k ,   S t a t e   n e x t ,   S c o p e   s c o p e ,   O b j e c t   s t a t e ,   B o o l e a n   i s C o m p l e t e d ) 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . M v c . I n f r a s t r u c t u r e . R e s o u r c e I n v o k e r . R e t h r o w ( R e s o u r c e E x e c u t e d C o n t e x t S e a l e d   c o n t e x t ) 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . M v c . I n f r a s t r u c t u r e . R e s o u r c e I n v o k e r . N e x t ( S t a t e &   n e x t ,   S c o p e &   s c o p e ,   O b j e c t &   s t a t e ,   B o o l e a n &   i s C o m p l e t e d ) 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . M v c . I n f r a s t r u c t u r e . R e s o u r c e I n v o k e r . < I n v o k e F i l t e r P i p e l i n e A s y n c > g _ _ A w a i t e d | 2 0 _ 0 ( R e s o u r c e I n v o k e r   i n v o k e r ,   T a s k   l a s t T a s k ,   S t a t e   n e x t ,   S c o p e   s c o p e ,   O b j e c t   s t a t e ,   B o o l e a n   i s C o m p l e t e d ) 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . M v c . I n f r a s t r u c t u r e . R e s o u r c e I n v o k e r . < I n v o k e A s y n c > g _ _ A w a i t e d | 1 7 _ 0 ( R e s o u r c e I n v o k e r   i n v o k e r ,   T a s k   t a s k ,   I D i s p o s a b l e   s c o p e ) 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . M v c . I n f r a s t r u c t u r e . R e s o u r c e I n v o k e r . < I n v o k e A s y n c > g _ _ A w a i t e d | 1 7 _ 0 ( R e s o u r c e I n v o k e r   i n v o k e r ,   T a s k   t a s k ,   I D i s p o s a b l e   s c o p e ) 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . A u t h o r i z a t i o n . A u t h o r i z a t i o n M i d d l e w a r e . I n v o k e ( H t t p C o n t e x t   c o n t e x t ) 
 
                   a t   M i c r o s o f t . A s p N e t C o r e . A u t h e n t i c a t i o n . A u t h e n t i c a t i o n M i d d l e w a r e . I n v o k e ( H t t p C o n t e x t   c o n t e x t ) 
 
                   a t   K n o t . S h a r e d . I n f r a s t r u c t u r e . M i d d l e w a r e . E x c e p t i o n H a n d l i n g M i d d l e w a r e . I n v o k e A s y n c ( H t t p C o n t e x t   c o n t e x t )   i n   / a p p / a p p s / s e r v e r - n e t / s r c / S h a r e d / K n o t . S h a r e d . I n f r a s t r u c t u r e / M i d d l e w a r e / E x c e p t i o n H a n d l i n g M i d d l e w a r e . c s : l i n e   2 3 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 0 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ c u r r e n t U s e r I d = ' ? '   ( D b T y p e   =   G u i d ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   f . " I d " ,   f . " C r e a t e d A t " ,   f . " F r i e n d I d " ,   f . " S t a t u s " ,   f . " U s e r I d " 
 
             F R O M   i d e n t i t y . " F r i e n d s h i p s "   A S   f 
 
             W H E R E   f . " S t a t u s "   =   1   A N D   ( f . " U s e r I d "   =   @ c u r r e n t U s e r I d   O R   f . " F r i e n d I d "   =   @ c u r r e n t U s e r I d ) 
 
 i n f o :   M i c r o s o f t . E n t i t y F r a m e w o r k C o r e . D a t a b a s e . C o m m a n d [ 2 0 1 0 1 ] 
 
             E x e c u t e d   D b C o m m a n d   ( 1 m s )   [ P a r a m e t e r s = [ @ f r i e n d I d s = ' ? '   ( D b T y p e   =   O b j e c t ) ] ,   C o m m a n d T y p e = ' T e x t ' ,   C o m m a n d T i m e o u t = ' 3 0 ' ] 
 
             S E L E C T   s . " I d " ,   s . " B g C o l o r " ,   s . " C o n t e n t " ,   s . " C r e a t e d A t " ,   s . " E x p i r e s A t " ,   s . " M e d i a U r l " ,   s . " T y p e " ,   s . " U s e r I d " ,   s 0 . " I d " ,   s 0 . " S t o r y I d " ,   s 0 . " U s e r I d " ,   s 0 . " V i e w e d A t " ,   s 1 . " I d " ,   s 1 . " C r e a t e d A t " ,   s 1 . " E m o j i " ,   s 1 . " S t o r y I d " ,   s 1 . " U s e r I d " ,   s 2 . " I d " ,   s 2 . " C o n t e n t " ,   s 2 . " C r e a t e d A t " ,   s 2 . " S t o r y I d " ,   s 2 . " U s e r I d " 
 
             F R O M   i d e n t i t y . " S t o r i e s "   A S   s 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y V i e w e r s "   A S   s 0   O N   s . " I d "   =   s 0 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e a c t i o n s "   A S   s 1   O N   s . " I d "   =   s 1 . " S t o r y I d " 
 
             L E F T   J O I N   i d e n t i t y . " S t o r y R e p l i e s "   A S   s 2   O N   s . " I d "   =   s 2 . " S t o r y I d " 
 
             W H E R E   s . " E x p i r e s A t "   >   n o w ( )   A N D   s . " U s e r I d "   =   A N Y   ( @ f r i e n d I d s ) 
 
             O R D E R   B Y   s . " C r e a t e d A t "   D E S C ,   s . " I d " ,   s 0 . " I d " ,   s 1 . " I d " 
 
 