Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

.net core not returning the sub list

make use to add the include 

        public async Task<ActionResult<IEnumerable<Playlist>>> GetPlayList()
        {
            return await _context.Playlist.Include(p => p.Videos).ToListAsync();

        }
Comment

PREVIOUS NEXT
Code Example
Csharp :: unity c# script for movement left and right 
Csharp :: cshtml page title 
Csharp :: how to remove a parten transform unity 
Csharp :: c# initialize event 
Csharp :: Cannot convert type child to type parent c# 
Csharp :: using selected item in listbox c# to fill texbox 
Csharp :: CS0176 
Csharp :: unity 3d fire shoting 
Csharp :: f sharp functions calling each other 
Csharp :: linq query languages 
Csharp :: IOS app crashing on ios 15 unity 
Csharp :: how to use span c# 
Csharp :: recursively fing root of tree 
Csharp :: version string c# 
Csharp :: Implementing Banner Ads Unity 
Csharp :: c# async rethrow exception 
Csharp :: c# compare 2 binary files 
Csharp :: Connect To MongoDB From A Different Machine 
Csharp :: leantween unity when timescale 0 
Csharp :: unity run all interfaces 
Csharp :: f# set function how to ignore duplicates 
Csharp :: how to reset checkbox visual studio c# 
Csharp :: blazor OnInitializedAsync Unhandled exception rendering component: Cannot wait on monitors on this runtime. 
Csharp :: C# devexpress get foucused dataRow of child gridView 
Csharp :: wpf xaml group of buttons 
Csharp :: publish applications for linux 
Csharp :: WixSharp-FirewallException 
Csharp :: remove lines from textfile 
Csharp :: c# url relative path remove 
Csharp :: crystal reports convert decimal to integer in formula 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =