Will this C# picece of code acts same as an SQL query?
In a code (following) it seems some data are retreived from a MS SQL 2008 database. Does this mean there no need for any query or stored procedure in the database physically?
I'm new to this type of coding...
Will this get the data?
var context = ObjectContextHelper.CurrentObjectContext; var query = from c in context.Countries orderby c.DisplayOrder, c.Name where (showHidden || c.Published) && c.Allowed select c; var countryCollection = query.ToList();