我收到此错误'运算符'=='无法应用于linq类型'System.Guid'和'string''的操作数到代码下面的entityframework.在下面的代码中,CustomerId是Guid,customerProfileId是字符串.
var accountQuery = from C in CustomerModel.CustomerProfile
where C.CustomerId == customerProfileId // Error here
select C;
Run Code Online (Sandbox Code Playgroud)