Skip to content

Instantly share code, notes, and snippets.

@dontpaniclabsgists
Created September 26, 2024 21:22
Show Gist options
  • Save dontpaniclabsgists/c3c5531f0de910668a8893fbd57b68b8 to your computer and use it in GitHub Desktop.
Save dontpaniclabsgists/c3c5531f0de910668a8893fbd57b68b8 to your computer and use it in GitHub Desktop.
StringBuilder query = new StringBuilder($";select * from [DBName].[Businesses] ");
var models = db.Businesses.FromSqlRaw(query.ToString()).ToArray();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment