jsakamoto
jsakamoto
Of course, `Toolbelt.EntityFrameworkCore.IndexAttribute.SqlServer` already supports the composite primary key. If you annotate the model like this, ```csharp [PrimaryKey("PK_AtoB", 0, IsClustered = true)] public long Id1 { get; set; } [PrimaryKey("PK_AtoB",...
> What I meant was having a composite non-clustered PK and a clustered index on Id1, Yes, if you annotate like this, ```csharp [Index("Index_Id1", IsClustered = true)] [PrimaryKey("PK_AtoB", 0, IsClustered...
> I just created a static class to hold the PrologEngine. I think it is not so bad implementation. We may be able to use "DI" (dependency injection) architecture for...
P.S. On "Xamarin.Forms", we can use the "ServiceCollection" class for the DI container. https://docs.microsoft.com/en-us/dotnet/api/microsoft.extensions.dependencyinjection.servicecollection?view=dotnet-plat-ext-6.0 ```csharp // At the startup of a program... var services = new ServiceCollection(); services.AddSingleton(() => new...
I'm sorry, but I could not understand what your question meant. Would you explain your question more elaborately?
@furesoft Maybe I could say "Yes". Please see the screenshot below that I tried on the "Prolog on Browser" ( https://jsakamoto.github.io/Prolog-on-Browser/ ), built on this library.  _**Note**_: The query...
> Given the content of the database, there should only be two solutions. I think so too. Interestingly, the ["Prolog on Broser"](https://jsakamoto.github.io/Prolog-on-Browser/) returned only two solutions. That is the same...
@d-vyd I'm afraid but I was not able to reproduce the behavior that you reported. My test code is here: ```csharp using Prolog; var prolog = new PrologEngine(persistentCommandHistory: false); prolog.ConsultFromString(...
@d-vyd Thank you for attaching the project file! > you are welcome to close this thread and stop reading. Thank you for your kindness. However, your project looks great to...
@aminPolimi, thank you for submitting your report. Would you kindly provide me with additional details regarding the steps you took? Your explanation will be greatly appreciated.