Shaolinq
Shaolinq copied to clipboard
ORM for .NET with full LINQ support for Postgres, Sqlite, MySql and SqlServer
Hi, I got a dictionary with a List of words (in each Language) ```Translation_Entry``` Now I want to link them together, using a mapping table ```Translation_Mapping```: ```cs [BackReference(Name= "Translation_Entry_id_Source", PrefixName...
As title. I tried model.CreateAsync(DatabaseCreationOptions.IfDatabaseNotExist).Wait(), and it failed with table already existing. The exception thrown says, "relation "Test" already exists".
AsyncRewriter inserts async method calls inside code that is within a lock section, however this won't compile (`Cannot await in the body of a lock statement`): ```csharp lock (lockObj) {...
Hey, im new on .net dev but i write some app, sites... in php using laravel. and this have a nice orm like this. a nice function of eloquent is...
How to set a cascade on migration???
i dont see how to configure mysql with another port
Hi, I'm evaluating Shaolinq hoping to replace our npgsql-only implementation, to get real ORM and support for Linq, and so far I really like it! I do have an issue...
Steps to reproduce: - Create class library project targeting .NET 4.6 - Install `Shaolinq.AsyncRewriter 1.1.1.989` - Create new class: ``` csharp public partial class Class1 { [RewriteAsync] public int Foo()...
Hello, It seems that CASCADE foreign key action is not supported at all. Is this by design or is this a bug? There's a method FixAction(SqlColumnReferenceAction action) in the D:\Dev\Shaolinq\src\Shaolinq\Persistence\Linq\SqlDataDefinitionExpressionBuilder.cs...
This query: var salesTotals = _postgresDataAccessModel.ItemSales.Where( sales => sales.CompanyId == companyId && sales.LocationId == locationId && sales.ItemType == "Tap" && sales.DateSold >= adjustedStartTime && sales.DateSold new {sales.MenuItemProductId, sales.DisplaySize}) .Select(sales =>...