C
C#2w ago
IcyIme

i migrating from sqlserver to mongo db but in login the page throeing an errror ExpressionNotSupport

when i click on the login button it throws me an error ExpressionNotSupportedException: Expression not supported: i.ToClaim(). this is code of the page
11 Replies
Angius
Angius2w ago
Why the downgrade from a proper relational database to a glorified Json file?
exixt
exixt2w ago
migrate back
Jimmacle
Jimmacle2w ago
also, the error means you put calls in your query that mongo can't translate into an actual db query (and i agree, why are you trying to switch to mongo)
IcyIme
IcyIme2w ago
bcs is simplier to use
Jimmacle
Jimmacle2w ago
that's not a good reason tbh if your data is relational (which it probably is), use a relational database
IcyIme
IcyIme2w ago
so sqlserver is good for relational data?
Jimmacle
Jimmacle2w ago
yes, all relational databases are and with json support becoming common even unstructured data works pretty well
IcyIme
IcyIme2w ago
actually i do not like sql overall
Jimmacle
Jimmacle2w ago
sql is unavoidable
IcyIme
IcyIme2w ago
i know okay thanks
Unknown User
Unknown User2w ago
Message Not Public
Sign In & Join Server To View