By M. Murcek · Posted
By M. Murcek · Posted
By News Staff · Posted
By Copernic · Posted
By Primey_ · Posted
We rely on ads to keep creating quality content for you to enjoy for free.
Please support our site by disabling your ad blocker.
Continue without supporting us
If the prompt is still appearing, please disable any tools or services you are using that block internet ads (e.g. DNS Servers, tracking protection or privacy extensions).
Question
+Red King Subscriber²
First question,
Not sure if I can constrain this better,
this calls PreComputeRecordConstructor to create a record based on data ...Second question,
AFAIK F# has no type provider that supports MySQL - only MS SQL.
Thus, if I want to do parsing on MySQL data the best solution is to,
1. Create a C# library with the generated EDMX file (database first)
2. Reference said library in F# code in use it
How sane does this sound? Is there a better solution?
Also, on the same topic as question 2,
don't work in EF queries. EF actually sees the getId funct and does not recognize it throwing an error.I thought that such code gets resolved and inlined into a direct .memberName call when compiled in IL?
Link to comment
https://www.neowin.net/forum/topic/1264528-generic-constraint-for-a-record-type-and-mysql-ef-question/Share on other sites
4 answers to this question
Recommended Posts