title: context.ToListAsync() is not getting any data from the table
body: <p>The table was created before I created the DBSet for &quot;AssetResource&quot;. Since I want to use the EF to make it easier to insert or update, I created the DbSet without calling the add-migration. The table has some data in it already, but when I call using this</p>
  <p>var list = await context.AssetSources.ToListAsync();</p>
  <p>I get an error of <code>Data is Null</code> then goes to the Exception.</p>
  <p>I tried adding the migration and creates it successfully but when I command the <code>update-database</code>, it tells me that the Resources table is already existing which is actually right because this table has been created before I created the DbSet.</p>
  <p>Please see the whole code of getting the list:</p>
  <pre><code>public async Task&lt;IEnumerable&lt;AssetSource&gt;&gt; GetAssetResources()
          {
              var lAssetSource = new List&lt;AssetSource&gt;();
              try
              {
                  var sw = new Stopwatch();
                  if (cache.TryGetValue(CACHE_KEYASSETSOURCE, out List&lt;AssetSource&gt; refListAssetSource))
                  {
                      helper.LogMessage(&quot;Assets Sources are found in cache&quot;, LoggerModel.LoggingType.Information);
                      lAssetSource = refListAssetSource;
                  }
                  else
                  {
                      var l = await context.AssetSources.ToListAsync();
                  }
                  return lAssetSource;
              }
              catch (Exception e)
              {
                  helper.LogMessage(e.Message, Shared.Models.LoggerModel.LoggingType.Error);
                  throw new NoObjectDetectedException(e.Message);
              }
          }
  </code></pre>