I am getting a query from linq that isn't surrounding the string value in this call with single quotes. Anyone know what would cause this? I've verified that boht the parameter and the property AffiliateSiteId are both strings so I'm not sure what else to check. Thanks. public ModuleViewConfiguration GetModuleConfigByModuleId( int ModuleId, string AffiliateSiteId) { var mod = ( from module in tdc.vwModuleLookupByGUIDs where module.ModuleId == ModuleId && module.AffiliateSiteId == AffiliateSiteId.ToString()
Read More...