我对视觉工作室的F#和F#很新.我刚刚创建了一个F#应用程序并创建了一个类,当我尝试使用F#交互式窗口时,它运行正常,当我构建应用程序时,它会导致三个错误
FSharp.Core.sigdata not found alongside FSharp.Core FSC
Error opening binary file 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_4.3.0.0__b03f5f7f11d50a3a\FSharp.Core.dll': FSharp.Core.sigdata not found alongside FSharp.Core
Problem reading assembly 'FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a': Error opening binary file 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_4.3.0.0__b03f5f7f11d50a3a\FSharp.Core.dll': FSharp.Core.sigdata not found alongside FSharp.Core
Run Code Online (Sandbox Code Playgroud)
请告诉我如何分类.
我有一种情况,复合键由 5 个或更多键组成,如下所示。
选项1:
Test table:
schoolid
testid --composite Primary key on both the columns
TestStudent table:
schoolId
testId
studentId -- composite primary key of all columns
TestStudentMCQ table:
schoolid
testid
studentid
choiceid --composite Primary key of all columns
Run Code Online (Sandbox Code Playgroud)
我可以制作Test桌子的PK,TestId这样MCQAnswer桌子就会有TestId, StudentId, QuestionId and ChoiceId
如果性能影响不大,我更愿意选择第一个选项。
此外,我将 RLS 与SchoolId.
我还想在这里提一下:
我还有另一个表 TestStudent,它具有如上所示的复合主键。同样的事情可以设计如下。
选项 2:
Test table:
schoolid
testid --composite Primary key on both the columns
TestStudent table:
id
schoolId
testId
studentId -- …Run Code Online (Sandbox Code Playgroud)